travis: deploy only on success, don't install shared keystore

main
Alibek Omarov 5 years ago
parent d9d88b528e
commit b4585b63bb
  1. 5
      .travis.yml

@ -4,10 +4,7 @@ android:
components:
- android-29
- build-tools-28.0.3
before_script:
- mkdir -p $ANDROID_HOME/.android/
- cp debug.keystore $ANDROID_HOME/.android/
after_script:
after_success:
- $ANDROID_HOME/build-tools/28.0.3/apksigner sign --ks debug.keystore --ks-key-alias androiddebugkey --ks-pass "pass:android" --key-pass "pass:android" --in $(find -name "*-blue-release-unsigned.apk") --out husky-release.apk
- wget https://raw.githubusercontent.com/FWGS/uploadtool/master/upload.sh
- chmod +x upload.sh

Loading…
Cancel
Save