From fdd2ce760dc7e079e15b3f396450b000035bd609 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Tue, 13 Nov 2012 19:18:12 +0100 Subject: [PATCH] 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. --- archive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.2