From e235598ff526b500aa2dc70c3a97d4d7cfe81898 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Wed, 24 Aug 2022 15:34:30 +0100 Subject: [PATCH] adding script to generate signed release bundle --- tools/generate-release.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tools/generate-release.sh diff --git a/tools/generate-release.sh b/tools/generate-release.sh new file mode 100755 index 0000000..dc10bf0 --- /dev/null +++ b/tools/generate-release.sh @@ -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 \ No newline at end of file