|
@ -66,10 +66,10 @@ fi |
|
|
if [ ! -z "$RELEASEMANAGER" ] ; then |
|
|
if [ ! -z "$RELEASEMANAGER" ] ; then |
|
|
echo -n "Code signing passphrase:" |
|
|
echo -n "Code signing passphrase:" |
|
|
read -s password |
|
|
read -s password |
|
|
|
|
|
# tests password against keystore |
|
|
|
|
|
keytool -list -storepass $password |
|
|
|
|
|
# the same password is used for windows signing |
|
|
export WIN_SIGNING_PASSWORD=$password |
|
|
export WIN_SIGNING_PASSWORD=$password |
|
|
export P4A_RELEASE_KEYSTORE_PASSWD=$password |
|
|
|
|
|
export P4A_RELEASE_KEYALIAS_PASSWD=$password |
|
|
|
|
|
# TODO add tests here to see if pw is correct |
|
|
|
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -147,7 +147,7 @@ if test -f "dist/$apk1"; then |
|
|
info "file exists: $apk1" |
|
|
info "file exists: $apk1" |
|
|
else |
|
|
else |
|
|
if [ ! -z "$RELEASEMANAGER" ] ; then |
|
|
if [ ! -z "$RELEASEMANAGER" ] ; then |
|
|
./contrib/android/build.sh kivy all release |
|
|
./contrib/android/build.sh kivy all release $password |
|
|
else |
|
|
else |
|
|
./contrib/android/build.sh kivy all release-unsigned |
|
|
./contrib/android/build.sh kivy all release-unsigned |
|
|
mv "dist/$apk1_unsigned" "dist/$apk1" |
|
|
mv "dist/$apk1_unsigned" "dist/$apk1" |
|
|