pub / stagit-scripts

Building src.jayvii.de with stagit
git clone https://src.jayvii.de/pub/stagit-scripts.git
Home | Log | Files | Exports | Refs | README | RSS

commit 744e9059067e154957b746e383929b9d530eee86
parent 3a0908d57956db2c0ba114b6b9ea523aced694c0
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sun,  4 Aug 2024 15:50:27 +0200

feat: only process exports of tags on push

Diffstat:
Mbin/git_export_tarball.sh | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bin/git_export_tarball.sh b/bin/git_export_tarball.sh @@ -27,7 +27,10 @@ if [ -f "${1}/url" ]; then URL=`cat ${1}/url` fi -for REF in ${4}; do +# Ensure that only tags are processed +REFS=`echo "${4}" | grep -E "^refs/tags/"` + +for REF in $REFS; do # fetch branches and tags from given ref BRANCHES="