Skip to content

Commit cb0cfa5

Browse files
committed
Nicer tag names for Travis releases
1 parent f76f8e7 commit cb0cfa5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ script:
3434
- ./gradlew build test :app:assembleAndroidTest
3535
# Deploy built APK to github
3636
before_deploy:
37+
- git config --global user.email "noreply+travis-ci@projectbuendia.org"
38+
- git config --global user.name "Travis CI"
39+
- export GIT_TAG=$TRAVIS_BUILD_NUMBER
40+
- git tag $GIT_TAG -a -m "Generated tag from Travis CI for build $TRAVIS_BUILD_NUMBER"
41+
- git push -q git@github.com:projectbuendia/client.git --tags
3742
- cp ./app/build/outputs/apk/*.apk .
3843
deploy:
3944
provider: releases

0 commit comments

Comments
 (0)