From f5ebd7a51d2c3beda32944a54ab5642f3a1a5ffa Mon Sep 17 00:00:00 2001 From: Yash Khare Date: Mon, 1 Jul 2019 22:00:32 +0530 Subject: [PATCH] chore: Fixed auto-release script (#2798) --- .travis.yml | 2 +- scripts/update-apk.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3e1e82242..a4a76e479 100755 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ dist: trusty env: global: - ANDROID_API_LEVEL=22 - - ANDROID_BUILD_TOOLS_VERSION=25.0.3 + - ANDROID_BUILD_TOOLS_VERSION=28.0.3 - ANDROID_ABI=armeabi-v7a arm64-v8a x86 x86_64 - ANDROID_TAG=google_apis - ANDROID_TARGET=android-25 diff --git a/scripts/update-apk.sh b/scripts/update-apk.sh index b20839aa4..13494fdb1 100644 --- a/scripts/update-apk.sh +++ b/scripts/update-apk.sh @@ -29,8 +29,8 @@ fi if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then echo "Push to master branch detected, signing the app..." cp app-release-unsigned.apk app-release-unaligned.apk - jarsigner -verbose -tsa http://timestamp.comodoca.com/rfc3161 -sigalg SHA1withRSA -digestalg SHA1 -keystore ../scripts/key.jks -storepass $STORE_PASS -keypass $KEY_PASS app-release-unaligned.apk $ALIAS - ${ANDROID_HOME}/build-tools/26.0.3/zipalign -v -p 4 app-release-unaligned.apk app-release.apk + jarsigner -tsa http://timestamp.comodoca.com/rfc3161 -sigalg SHA1withRSA -digestalg SHA1 -keystore ../scripts/key.jks -storepass $STORE_PASS -keypass $KEY_PASS app-release-unaligned.apk $ALIAS + ${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS_VERSION}/zipalign -p 4 app-release-unaligned.apk app-release.apk fi if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then