Skip to content

Commit bfdf63e

Browse files
committed
Build update: Add prefix number to build number and update commentary
1 parent ebe718a commit bfdf63e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis/push_tag

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ readonly REPO_URL="https://${BOT_AUTH_TOKEN}@github.com/triplea-game/assets.git"
99
git config --global user.email "tripleabuilderbot@gmail.com"
1010
git config --global user.name "tripleabuilderbot"
1111

12-
## Add a '1' prefix to the build number to avoid
13-
## collisions. A travis migration to travic-ci.com
14-
## reset the build numbers.
12+
## Add a '2' prefix to increment the build number.
13+
## The build numbers are out of order, the '2' will ensure
14+
## the latest tag is actually the latest build
15+
1516
RELEASE_NUMBER="1$TRAVIS_BUILD_NUMBER"
16-
git tag "$RELEASE_NUMBER" -a -f -m "$RELEASE_NUMBER"
17+
git tag "2$RELEASE_NUMBER" -a -f -m "2$RELEASE_NUMBER"
1718
git push -q "$REPO_URL" --tags
1819

0 commit comments

Comments
 (0)