Changing the tag handling.
This commit is contained in:
parent
91e5d3736f
commit
6c293f4cac
4
build.sh
4
build.sh
@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
BASE_VERSION="v1.6"
|
BASE_VERSION="1.6"
|
||||||
TODAYS_VERSION="1"
|
TODAYS_VERSION="1"
|
||||||
|
|
||||||
VERSION="${BASE_VERSION}.$(date '+%y%m%j')$TODAYS_VERSION"
|
VERSION="${BASE_VERSION//./}$(date '+%y%m%j')$TODAYS_VERSION"
|
||||||
|
|
||||||
./version.sh ${VERSION} $@
|
./version.sh ${VERSION} $@
|
||||||
|
|
||||||
|
@ -3,8 +3,9 @@
|
|||||||
|
|
||||||
echo "Creating tag $@"
|
echo "Creating tag $@"
|
||||||
|
|
||||||
git tag $@
|
TAG="v$@"
|
||||||
|
git tag ${TAG}
|
||||||
|
|
||||||
echo "Pushing tag"
|
echo "Pushing tag"
|
||||||
|
|
||||||
git push origin $@
|
git push origin ${TAG}
|
||||||
|
Loading…
Reference in New Issue
Block a user