Skip to content

Commit

Permalink
Bump tag value, add a prefixed '1' to avoid collissions with upcoming…
Browse files Browse the repository at this point in the history
… build numbers (#54)

Migrating from travis-ci.org to travis-ci.com seemingly reset build numbers
The previous latest tag was 25, the current build is on 15. To avoid collissions,
jump to tag 116 for the next build.
  • Loading branch information
DanVanAtta authored Apr 2, 2020
1 parent 7cde684 commit 55f160e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis/push_tag
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ readonly REPO_URL="https://${BOT_AUTH_TOKEN}@github.com/triplea-game/assets.git"
git config --global user.email "[email protected]"
git config --global user.name "tripleabuilderbot"

git tag "$TRAVIS_BUILD_NUMBER" -a -f -m "$TAG_VALUE"
## Add a '1' prefix to the build number to avoid
## collisions. A travis migration to travic-ci.com
## reset the build numbers.
git tag "1$TRAVIS_BUILD_NUMBER" -a -f -m "$TAG_VALUE"
git push -q "$REPO_URL" --tags

0 comments on commit 55f160e

Please sign in to comment.