-
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.
Merge pull request #23 from virresh/apk_deploy
Add CI files for testing release functionality
- Loading branch information
Showing
6 changed files
with
60 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="master" | ||
|
||
# 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,7 @@ | |
.externalNativeBuild | ||
.idea/ | ||
app/google-services.json | ||
cloud.tar.gz | ||
sahayak.jks | ||
dummykeystore.properties | ||
|
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.