diff --git a/.travis.yml b/.travis.yml index 7ab7d7d0..753bef13 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,13 +2,13 @@ language: java branches: except: - - /build-.+-\d{4}-\d{2}-\d{2}-.*/ + - /dev-build-.*/ after_success: - git config --global user.email "builds@travis-ci.com" - git config --global user.name "Travis CI" - - export GIT_TAG=build-$TRAVIS_BRANCH-$(date -u "+%Y-%m-%d-%H-%M-%S")-$TRAVIS_BUILD_NUMBER - - git tag $GIT_TAG -a -m "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER" + - export GIT_TAG=dev-build-$TRAVIS_BUILD_NUMBER + - git tag $GIT_TAG -a -m "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER on $(date -u "+%Y-%m-%d-%H-%M-%S")" - git push --quiet origin $GIT_TAG deploy: