Fix apk-signer
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Michel Roux 2021-08-12 11:38:52 +02:00
parent 7fce6bd62b
commit b8460c38ad

View File

@ -9,7 +9,7 @@ steps:
- curl -sSL -u "$USERNAME:$PASSWORD" -o $KEYFILE https://cloud.crystalyx.net/remote.php/dav/files/$USERNAME/Bordel/$KEYFILE - curl -sSL -u "$USERNAME:$PASSWORD" -o $KEYFILE https://cloud.crystalyx.net/remote.php/dav/files/$USERNAME/Bordel/$KEYFILE
- sh gradlew build bundle - sh gradlew build bundle
- jarsigner -verbose -keystore $KEYFILE -storepass $KEYPASS -keypass $KEYPASS app/build/outputs/bundle/release/app-release.aab $KEYALIAS - jarsigner -verbose -keystore $KEYFILE -storepass $KEYPASS -keypass $KEYPASS app/build/outputs/bundle/release/app-release.aab $KEYALIAS
- apksigner sign -v --ks $KEYFILE --ks-key-alias $KEYALIAS --ks-pass pass:$KEYPASS --key-pass pass:$KEYPASS app/build/outputs/apk/debug/app-debug.apk - /opt/android-sdk/build-tools/30.0.0/apksigner sign -v --ks $KEYFILE --ks-key-alias $KEYALIAS --ks-pass pass:$KEYPASS --key-pass pass:$KEYPASS app/build/outputs/apk/debug/app-debug.apk
environment: environment:
USERNAME: USERNAME:
from_secret: nextcloud_user from_secret: nextcloud_user