-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI files for testing release functionality
Somebody messed Firebase signatures Had to update them Also implemented signing apk built from cloud since firebase needs a fixed SHA-1 from apk
- Loading branch information
Showing
5 changed files
with
57 additions
and
11 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
BRANCH="apk_deploy" | ||
|
||
# Are we on the right branch? | ||
if [ "$TRAVIS_BRANCH" = "$BRANCH" ]; then | ||
|
||
# Is this not a Pull Request? | ||
if [ "$TRAVIS_PULL_REQUEST" = false ]; then | ||
|
||
# Is this not a build which was triggered by setting a new tag? | ||
if [ -z "$TRAVIS_TAG" ]; then | ||
echo -e "Starting to tag commit.\n" | ||
|
||
git config --global user.email "[email protected]" | ||
git config --global user.name "Travis" | ||
|
||
# Add tag and push to master. | ||
git tag -a v${TRAVIS_BUILD_NUMBER} -m "Travis build $TRAVIS_BUILD_NUMBER pushed a tag." | ||
git push origin --tags | ||
git fetch origin | ||
|
||
echo -e "Done magic with tags.\n" | ||
fi | ||
fi | ||
fi |
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
Binary file not shown.
Binary file not shown.