-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build update: Add prefix number to build number and update commentary
- Loading branch information
1 parent
ebe718a
commit 838bc77
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,11 @@ 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" | ||
|
||
## Add a '1' prefix to the build number to avoid | ||
## collisions. A travis migration to travic-ci.com | ||
## reset the build numbers. | ||
RELEASE_NUMBER="1$TRAVIS_BUILD_NUMBER" | ||
git tag "$RELEASE_NUMBER" -a -f -m "$RELEASE_NUMBER" | ||
## Add a '2' prefix to increment the build number. | ||
## The build numbers are out of order, the '2' will ensure | ||
## the latest tag is actually the latest build | ||
|
||
RELEASE_NUMBER="$TRAVIS_BUILD_NUMBER" | ||
git tag "2$RELEASE_NUMBER" -a -f -m "2$RELEASE_NUMBER" | ||
git push -q "$REPO_URL" --tags | ||
|