From: Frédéric Marchal Date: Tue, 13 Nov 2012 18:18:12 +0000 (+0100) Subject: Expect the git tag to start with the letter v X-Git-Tag: v2.3.3^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdd2ce760dc7e079e15b3f396450b000035bd609;p=thirdparty%2Fsarg.git Expect the git tag to start with the letter v A git tag for the released version must be v2.3.3 and not just 2.3.3 as enforced by the previous version of this script. --- diff --git a/archive.sh b/archive.sh index dc3621f..dad1e92 100755 --- a/archive.sh +++ b/archive.sh @@ -56,9 +56,9 @@ fi # is the git tag set? GitVersion=$(git describe) -if [[ "$GitVersion" != "$Version" ]] ; then +if [[ "$GitVersion" != "v$Version" ]] ; then echo "Git tag not set for version $Version. Use command:" - echo "git tag -a \"$Version\" -m \"$Version\"" + echo "git tag -a \"v$Version\" -m \"v$Version\"" exit 1 fi