diff --git a/.travis.yml b/.travis.yml index 27b4a77..25ab057 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,14 +37,10 @@ before_cache: # Travis can't cache files that are not readable by "others" - chmod -R a+r $HOME/.cargo -branches: - only: - - master - before_deploy: - git config --local user.name "Andreas Heider" - git config --local user.email "andreas@heider.io" - - git tag "$(date +'%Y-%m-%d')-$TRAVIS_BUILD_NUMBER-$(git log --format=%h -1)" + - git tag "$(date +'%Y-%m-%d')-$TRAVIS_BUILD_NUMBER-${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}-$(git log --format=%h -1)" deploy: provider: releases