File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- SDK_VERSION=' 34 .0.3 '
2+ SDK_VERSION=' 35 .0.0 '
33
44
55build_debug () {
@@ -46,9 +46,10 @@ build_release() {
4646 cordova build android --release -- --versionCode=${ver}
4747
4848 # copy build to release folder and sign
49- cp platforms/android/app/build/outputs/bundle/release/app-release.aab release_files/zmNinja.aab
50- echo " Signing bundle"
51- jarsigner -sigalg SHA256withRSA -digestalg SHA-256 -keystore platforms/android/zmNinja.keystore release_files/zmNinja.aab zmNinja
49+ cp platforms/android/app/build/outputs/bundle/release/app-release.aab release_files/zmNinja_${ver} .aab
50+ echo " Signing bundle with: jarsigner -sigalg SHA256withRSA -digestalg SHA-256 -keystore platforms/android/zmNinja.keystore release_files/zmNinja_${ver} .aab zmNinja"
51+
52+ jarsigner -sigalg SHA256withRSA -digestalg SHA-256 -keystore platforms/android/zmNinja.keystore release_files/zmNinja_${ver} .aab zmNinja
5253 echo " Signed aab in release_files"
5354
5455 # Build apk from bundle for verification if bundletool is available
@@ -126,6 +127,8 @@ cordova plugin remove cordova-plugin-ionic-webview > /dev/null 2>&1
126127echo " Adding cordova-plugin-certificates-pp-fork..."
127128cordova plugin add cordova-plugin-certificates-pp-fork > /dev/null 2>&1
128129
130+ set -e
131+
129132
130133if [ " ${MODE} " = " debug" ]; then
131134 build_debug
You can’t perform that action at this time.
0 commit comments