X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=scripts%2Fnew-release.sh;h=746aa70f873e27e4184a5199f8ef961dd7b262cb;hp=9b8d90a8e521eb206e28150d9b0b926a13ff9d6d;hb=f0c904618f067b0944dcfc174c1495394847d05a;hpb=b20ecc4b66e42048c50fbc4c00178f383c1653a7 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