Skip to content

Commit

Permalink
chore: Fixed auto-release script (#2798)
Browse files Browse the repository at this point in the history
  • Loading branch information
yashk2000 authored and iamareebjamal committed Jul 1, 2019
1 parent d1d55a1 commit f5ebd7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/update-apk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5ebd7a

Please sign in to comment.