adding script to generate signed release bundle

This commit is contained in:
Adam Brown 2022-08-24 15:34:30 +01:00
parent 81c8cb4927
commit e235598ff5
1 changed files with 10 additions and 0 deletions

10
tools/generate-release.sh Executable file
View File

@ -0,0 +1,10 @@
#! /bin/bash
./gradlew clean bundleRelease -Punsigned --no-daemon --no-configuration-cache --no-build-cache
RELEASE_AAB=app/build/outputs/bundle/release/app-release.aab
jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 \
-keystore .secrets/upload-key.jks \
-storepass $1 \
$RELEASE_AAB \
key0