diff options
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/linux/create-packages.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.ci/linux/create-packages.sh b/.ci/linux/create-packages.sh index 8da5249e..37c21612 100755 --- a/.ci/linux/create-packages.sh +++ b/.ci/linux/create-packages.sh @@ -19,6 +19,10 @@ if [[ $TAG == nightly ]]; then TAG=${TRAVIS_BUILD_NUMBER}.nightly fi +if [ -z "$TAG" ]; then + TAG=`git rev-parse --abbrev-ref HEAD` +fi + # Installing dependencies on travis. if [ ! -z "$TRAVIS_OS_NAME" ]; then sudo apt-add-repository -y ppa:brightbox/ruby-ng |