commit c409311cffa72b431cb79300323403edf5cb66e1
parent b0da2fdd34e02f67ac71032c86c95ad204c7cfd7
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sat, 15 Jun 2024 22:13:57 +0200
fix: reverse if-clause
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/git_deploy.sh b/bin/git_deploy.sh
@@ -32,7 +32,7 @@ for REF in $@; do
TAG=`git tag --contains $REF | tail -n 1 | awk '{ print $NF }'`
# cycle through branches and tags
- if [ -z $TAG ]; then
+ if [ ! -z $TAG ]; then
# create archive
git archive ${TAG} . \