From 3a24b7b27cb25235a63d77226ecf1fe1d771d3dc Mon Sep 17 00:00:00 2001 From: ananjaser1211 Date: Thu, 30 Aug 2018 02:49:11 +0400 Subject: [PATCH] Upload a .tar of twrp Thanks @yshalsager --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 42a0a8c..e0cfafe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)-.*$/ \ No newline at end of file + - /^(?i:untagged)-.*$/