Prefix version strings with 'v'.

- Makes it safer to globally replace the version string.
- Also emphasises its a version, not just a date.
This commit is contained in:
Andrew Hamilton 2021-12-22 11:31:54 +10:00
parent 9273e3cdec
commit 486d7b3f27

View file

@ -9,7 +9,7 @@ set -e
[ -e README.md ]
NEW_VERSION=$(date "+%Y.%m.%d")
NEW_VERSION=$(date "+v%Y.%m.%d")
CURRENT_VERSION=$(git describe --tags --abbrev=0)
if [ $NEW_VERSION == $CURRENT_VERSION ]; then
git tag --delete $CURRENT_VERSION