Skip to content

Commit f5ebd7a

Browse files
yashk2000iamareebjamal
authored andcommitted
chore: Fixed auto-release script (#2798)
1 parent d1d55a1 commit f5ebd7a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dist: trusty
66
env:
77
global:
88
- ANDROID_API_LEVEL=22
9-
- ANDROID_BUILD_TOOLS_VERSION=25.0.3
9+
- ANDROID_BUILD_TOOLS_VERSION=28.0.3
1010
- ANDROID_ABI=armeabi-v7a arm64-v8a x86 x86_64
1111
- ANDROID_TAG=google_apis
1212
- ANDROID_TARGET=android-25

scripts/update-apk.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ fi
2929
if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then
3030
echo "Push to master branch detected, signing the app..."
3131
cp app-release-unsigned.apk app-release-unaligned.apk
32-
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
33-
${ANDROID_HOME}/build-tools/26.0.3/zipalign -v -p 4 app-release-unaligned.apk app-release.apk
32+
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
33+
${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS_VERSION}/zipalign -p 4 app-release-unaligned.apk app-release.apk
3434
fi
3535

3636
if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then

0 commit comments

Comments
 (0)