mirror of
https://github.com/ouchadam/small-talk.git
synced 2024-12-23 08:18:13 +01:00
16 lines
416 B
Bash
Executable File
16 lines
416 B
Bash
Executable File
#! /bin/bash
|
|
|
|
./gradlew bundleRelease -Punsigned --no-daemon --no-configuration-cache --no-build-cache
|
|
|
|
WORKING_DIR=app/build/outputs/bundle/release
|
|
RELEASE_AAB=$WORKING_DIR/app-release.aab
|
|
|
|
cp $RELEASE_AAB $WORKING_DIR/app-release-unsigned.aab
|
|
|
|
echo "signing $RELEASE_AAB"
|
|
jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 \
|
|
-keystore .secrets/upload-key.jks \
|
|
-storepass $1 \
|
|
$RELEASE_AAB \
|
|
key0
|