From 1ed7eab3c40131639b4728d61826e38bf2f0a589 Mon Sep 17 00:00:00 2001 From: Distopico Vegan Date: Sat, 8 Dec 2018 14:22:22 -0500 Subject: [PATCH] signed without android studio --- scripts/signed.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/signed.sh diff --git a/scripts/signed.sh b/scripts/signed.sh new file mode 100755 index 00000000..ff75caa7 --- /dev/null +++ b/scripts/signed.sh @@ -0,0 +1,10 @@ + +function prop { + grep "${1}" local.properties|cut -d'=' -f2 +} + +read -s -p "Key Password: " PASSWORD +RELEASE_STORE_FILE=$(prop "RELEASE_STORE_FILE") +RELEASE_KEY_ALIAS=$(prop "RELEASE_KEY_ALIAS") + +./gradlew assembleRelease -Pandroid.injected.signing.store.file=$RELEASE_STORE_FILE -Pandroid.injected.signing.store.password=$PASSWORD -Pandroid.injected.signing.key.alias=$RELEASE_KEY_ALIAS -Pandroid.injected.signing.key.password=$PASSWORD