chore: fix/clean script

This commit is contained in:
devthejo 2025-09-26 14:36:09 +02:00
parent b7a53dd78b
commit 4f132cebe2
No known key found for this signature in database
GPG key ID: 00CCA7A92B1D5351

View file

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -e
# Check if DEVICE environment variable is set # Check if DEVICE environment variable is set
if [ -z "$DEVICE" ]; then if [ -z "$DEVICE" ]; then
echo "Error: DEVICE environment variable is not set." echo "Error: DEVICE environment variable is not set."
@ -15,7 +17,7 @@ java -jar /opt/bundletool-all-1.17.1.jar build-apks \
--mode universal \ --mode universal \
--bundle ./app-release.aab \ --bundle ./app-release.aab \
--output ./app.apks \ --output ./app.apks \
--ks $HOME/lab/alerte-secours/as-app/android/app/debug.keystore \ --ks $PWD/../../../../debug.keystore \
--ks-pass pass:android \ --ks-pass pass:android \
--ks-key-alias androiddebugkey \ --ks-key-alias androiddebugkey \
--key-pass pass:android --key-pass pass:android