mirror of https://github.com/liamg/aminal.git
Include source branch title in nightly build tag (#243)
This commit is contained in:
parent
a2f23c73e5
commit
87d36072a3
|
@ -8,7 +8,7 @@ if [ -z "$MY_TAG" ] ; then
|
|||
git config --global user.email "travis@travis-ci.org"
|
||||
git config --global user.name "Travis CI"
|
||||
|
||||
NEW_TAG="Nightly-$(date +%Y-%m-%d)-$(git rev-parse --short HEAD)"
|
||||
NEW_TAG="Nightly-$TRAVIS_BRANCH-$(date +%Y-%m-%d)-$(git rev-parse --short HEAD)"
|
||||
git tag -a $NEW_TAG -m "Nightly Build Tag $NEW_TAG"
|
||||
|
||||
echo "New generated nightly build tag: $NEW_TAG"
|
||||
|
|
Loading…
Reference in New Issue