Skip to content

Commit

Permalink
Sign and release apk.
Browse files Browse the repository at this point in the history
  • Loading branch information
solderzzc committed Sep 24, 2020
1 parent 7632cfa commit 3356582
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,15 @@ before_script:
- export PATH=$HOME/.meteor:$PATH
- meteor npm install
script:
- ls -alh $HOME/
- cd $TRAVIS_BUILD_DIR && meteor build $HOME --server=$API_SERVER_ADDRESS
- cat $TRAVIS_BUILD_DIR/.meteor/local/cordova-build/platforms/android/build.gradle
- ls $HOME/ -alh
- ls $HOME/android -alh
services:
- mongodb
before_deploy:
- cp $TRAVIS_BUILD_DIR/.keystore $HOME
- jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 $HOME/android/release-unsigned.apk
sharpai-app -keystore $HOME/.keystore -storepass $storepass -keypass $keypass
- "${ANDROID_HOME}/build-tools/22.0.1/zipalign 4 $HOME/android/release-unsigned.apk
- "${ANDROID_HOME}/build-tools/28.0.3/zipalign 4 $HOME/android/release-unsigned.apk
$HOME/android/sharpai-app.apk"
deploy:
provider: releases
Expand Down

0 comments on commit 3356582

Please sign in to comment.