diff options
Diffstat (limited to '.ci/scripts/android/upload.sh')
| -rwxr-xr-x | .ci/scripts/android/upload.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/.ci/scripts/android/upload.sh b/.ci/scripts/android/upload.sh index cfaeff328..5f8ca73c0 100755 --- a/.ci/scripts/android/upload.sh +++ b/.ci/scripts/android/upload.sh | |||
| @@ -13,15 +13,3 @@ cp src/android/app/build/outputs/apk/"${BUILD_FLAVOR}/release/app-${BUILD_FLAVOR | |||
| 13 | "artifacts/${REV_NAME}.apk" | 13 | "artifacts/${REV_NAME}.apk" |
| 14 | cp src/android/app/build/outputs/bundle/"${BUILD_FLAVOR}Release"/"app-${BUILD_FLAVOR}-release.aab" \ | 14 | cp src/android/app/build/outputs/bundle/"${BUILD_FLAVOR}Release"/"app-${BUILD_FLAVOR}-release.aab" \ |
| 15 | "artifacts/${REV_NAME}.aab" | 15 | "artifacts/${REV_NAME}.aab" |
| 16 | |||
| 17 | if [ -n "${ANDROID_KEYSTORE_B64}" ] | ||
| 18 | then | ||
| 19 | echo "Signing apk..." | ||
| 20 | base64 --decode <<< "${ANDROID_KEYSTORE_B64}" > ks.jks | ||
| 21 | |||
| 22 | apksigner sign --ks ks.jks \ | ||
| 23 | --ks-key-alias "${ANDROID_KEY_ALIAS}" \ | ||
| 24 | --ks-pass env:ANDROID_KEYSTORE_PASS "artifacts/${REV_NAME}.apk" | ||
| 25 | else | ||
| 26 | echo "No keystore specified, not signing the APK files." | ||
| 27 | fi | ||