Skip to content

Commit

Permalink
Upload a .tar of twrp
Browse files Browse the repository at this point in the history
  • Loading branch information
ananjaser1211 committed Aug 29, 2018
1 parent 492c35b commit 3a24b7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,19 @@ script:
after_success:
- export version=$(cat bootable/recovery/variables.h | grep "define TW_MAIN_VERSION_STR" | cut -d '"' -f2)
- cp $HOME/twrp/out/target/product/j5y17lte/recovery.img $HOME/twrp/TWRP-$version-j5y17lte-$(date +"%Y%m%d").img
- tar -cf $HOME/twrp/TWRP-$version-j5y17lte-$(date +"%Y%m%d").tar $HOME/twrp/out/target/product/j5y17lte/recovery.img


deploy:
skip_cleanup: true
provider: releases
api_key: "$GIT_OAUTH_TOKEN_TB"
file_glob: true
file: $HOME/twrp/*.img
file: $HOME/twrp/TWRP-*
on:
tags: false
repo: DevKingsTeam/android_device_samsung_j5y17lte
branch: master
branches:
except:
- /^(?i:untagged)-.*$/
- /^(?i:untagged)-.*$/

0 comments on commit 3a24b7b

Please sign in to comment.