1
0

release.sh: store signing password

This commit is contained in:
ThomasV
2022-09-27 13:50:03 +02:00
parent b73b35705d
commit f8f77c14a2
3 changed files with 15 additions and 8 deletions

View File

@@ -53,12 +53,12 @@ fi
if [[ "$3" == "release" ]] ; then
# do release build, and sign the APKs.
TARGET="release"
echo -n Keystore Password:
read -s password
export P4A_RELEASE_KEYSTORE=~/.keystore
export P4A_RELEASE_KEYSTORE_PASSWD=$password
export P4A_RELEASE_KEYALIAS_PASSWD=$password
export P4A_RELEASE_KEYALIAS=electrum
if [ ! $P4A_RELEASE_KEYSTORE_PASSWD ]; then
echo "p4a password not defined"
exit 1
fi
elif [[ "$3" == "release-unsigned" ]] ; then
# do release build, but do not sign the APKs.
TARGET="release"