From: Colin Clark Date: Tue, 12 Apr 2022 10:49:11 +0000 (+0100) Subject: Bug fix: new release script X-Git-Tag: gtk2final~27 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=f0c904618f067b0944dcfc174c1495394847d05a Bug fix: new release script --- diff --git a/scripts/new-release.sh b/scripts/new-release.sh index 9b8d90a8..746aa70f 100755 --- a/scripts/new-release.sh +++ b/scripts/new-release.sh @@ -70,7 +70,7 @@ fi if [ -n "$patch" ] then - if ! git rev-parse "v$version" > /dev/null 2>&1 + if ! git rev-parse stable/"$version" > /dev/null 2>&1 then printf '%s\n' "Version $version does not exist" exit 1 @@ -82,7 +82,7 @@ then exit 1 fi else - if git rev-parse "v$version" > /dev/null 2>&1 + if git rev-parse stable/"$version" > /dev/null 2>&1 then printf '%s\n' "Version $version already exists" exit 1