Skip to content

Commit

Permalink
Modified pre-release build naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
Codisimus committed Mar 13, 2016
1 parent 6b99778 commit 61ef964
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ language: java

branches:
except:
- /build-.+-\d{4}-\d{2}-\d{2}-.*/
- /dev-build-.*/

after_success:
- git config --global user.email "[email protected]"
- 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:
Expand Down

0 comments on commit 61ef964

Please sign in to comment.