Skip to content

Commit

Permalink
Provide GitHub releases on Tag closes #19
Browse files Browse the repository at this point in the history
  • Loading branch information
nyancrimew committed Jun 14, 2017
1 parent e4ddd02 commit bd99504
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,12 @@ after_success:
- mv build/outputs/apk/Lawnchair-aosp-debug.apk Travis-$TRAVIS_BUILD_NUMBER.apk
- curl -F chat_id="-1001083653933" -F document=@"Travis-$TRAVIS_BUILD_NUMBER.apk" https://api.telegram.org/bot$BOT_TOKEN/sendDocument
- mv build/outputs/mapping/aosp/debug/mapping.txt proguard-$TRAVIS_BUILD_NUMBER.txt
- curl -F chat_id="152559768" -F document=@"proguard-$TRAVIS_BUILD_NUMBER.txt" https://api.telegram.org/bot$BOT_TOKEN/sendDocument
- curl -F chat_id="152559768" -F document=@"proguard-$TRAVIS_BUILD_NUMBER.txt" https://api.telegram.org/bot$BOT_TOKEN/sendDocument
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file:
- "Travis-$TRAVIS_BUILD_NUMBER.apk"
skip_cleanup: true
on:
tags: true

0 comments on commit bd99504

Please sign in to comment.