android: debug build without keystore

This commit is contained in:
ardocrat 2025-01-13 16:54:27 +03:00
parent 094a5b8969
commit d79d05ef5a

View file

@ -63,8 +63,8 @@ function build_apk() {
./gradlew clean ./gradlew clean
# Build signed apk if keystore exists # Build signed apk if keystore exists
if [ ! -f keystore.properties ]; then if [ ! -f keystore.properties ]; then
./gradlew assembleRelease ./gradlew assembleDebug
apk_path=app/build/outputs/apk/release/app-release.apk apk_path=app/build/outputs/apk/debug/app-debug.apk
else else
./gradlew assembleSignedRelease ./gradlew assembleSignedRelease
apk_path=app/build/outputs/apk/signedRelease/app-signedRelease.apk apk_path=app/build/outputs/apk/signedRelease/app-signedRelease.apk