Include source branch title in nightly build tag (#243)

This commit is contained in:
Max Risuhin 2019-03-04 16:56:55 +02:00 committed by GitHub
parent a2f23c73e5
commit 87d36072a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"