-
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.
Push a tag so that releases are named under the tag name.
- Loading branch information
1 parent
389c3a3
commit f60d465
Showing
2 changed files
with
15 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
## Releases will be created under the latest tag pushed, or Travis | ||
## will create a name for the tag automatically if there is none. | ||
## The tag name is part of the download URL, naming and pushing a | ||
## tag keeps the download URL predictable and easier to update. | ||
|
||
readonly REPO_URL="https://${BOT_AUTH_TOKEN}@github.com/triplea-game/assets.git" | ||
git config --global user.email "tripleabuilderbot@gmail.com" | ||
git config --global user.name "tripleabuilderbot" | ||
|
||
git tag "$TRAVIS_BUILD_NUMBER" -a -f -m "$TAG_VALUE" | ||
git push -q "$REPO_URL" --tags | ||
|