Commit c7e53dc638abc391fcb01c5d9fcf4a18fb21255d

Authored by Caio Almeida
1 parent 841abe69

Updating script

Showing 1 changed file with 4 additions and 3 deletions   Show diff stats
ConfJuvApp/release-live.sh
1 1 #!/bin/bash
2 2 # Generates APK ready for Play Store
3 3 # Remember to increment the "version" value in config.xml when generating a new release
4   -#cordova plugin rm org.apache.cordova.console
5   -#cordova build --release android
6   -#jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore confjuvapp-key.keystore platforms/android/build/outputs/apk/android-release-unsigned.apk confjuvapp_key
  4 +# More information at http://ionicframework.com/docs/guide/publishing.html
  5 +cordova plugin rm org.apache.cordova.console
  6 +cordova build --release android
  7 +jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore confjuvapp-key.keystore platforms/android/build/outputs/apk/android-release-unsigned.apk confjuvapp_key
7 8 zipalign -v 4 platforms/android/build/outputs/apk/android-release-unsigned.apk confjuvapp.apk
8 9 mv confjuvapp.apk builds/confjuvapp-live.apk
9 10 echo "Now upload builds/confjuvapp-live.apk to Play Store"
... ...