diff --git a/scripts/pre-release-process.sh b/scripts/pre-release-process.sh index fd0a0714..0f59b1a1 100755 --- a/scripts/pre-release-process.sh +++ b/scripts/pre-release-process.sh @@ -9,6 +9,11 @@ if [ "$#" -ne 1 ]; then exit fi +if [[ ! $1 == v* ]]; then + echo "Tag must start with 'v'" + exit +fi + TAG=$1 #PREVTAG=$2 PREVTAG=$(git describe --abbrev=0 --tags)