Changing the tag handling.

This commit is contained in:
Amine Bou 2018-05-26 10:51:11 +02:00
parent 91e5d3736f
commit 6c293f4cac
2 changed files with 5 additions and 4 deletions

View File

@ -1,9 +1,9 @@
#!/bin/bash
BASE_VERSION="v1.6"
BASE_VERSION="1.6"
TODAYS_VERSION="1"
VERSION="${BASE_VERSION}.$(date '+%y%m%j')$TODAYS_VERSION"
VERSION="${BASE_VERSION//./}$(date '+%y%m%j')$TODAYS_VERSION"
./version.sh ${VERSION} $@

View File

@ -3,8 +3,9 @@
echo "Creating tag $@"
git tag $@
TAG="v$@"
git tag ${TAG}
echo "Pushing tag"
git push origin $@
git push origin ${TAG}