diff options
| author | Stefan Wildemann <gta04@metalstrolche.de> | 2020-05-01 19:59:47 +0200 |
|---|---|---|
| committer | Stefan Wildemann <gta04@metalstrolche.de> | 2020-05-01 19:59:47 +0200 |
| commit | 21f5a09aa7e94810b696ede5e79209fdf93dd476 (patch) | |
| tree | e14faa38bda5cbfe7e186d7e089c4d197726b531 /scripts/setup_publish_keys.sh | |
| parent | b57379a5349788ee627932dee86919937e252827 (diff) | |
| download | navit-fix_android_build_fail.tar.gz | |
fail - this should hang CI unconditionally even on navit-gpsfix_android_build_fail
Diffstat (limited to 'scripts/setup_publish_keys.sh')
| -rwxr-xr-x | scripts/setup_publish_keys.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/setup_publish_keys.sh b/scripts/setup_publish_keys.sh index 61ed85b76..2b1331d8e 100755 --- a/scripts/setup_publish_keys.sh +++ b/scripts/setup_publish_keys.sh @@ -2,10 +2,10 @@ set -e -if [ -n $GOOGLE_KEY ]; then +if [[ -n $GOOGLE_KEY ]]; then echo $GOOGLE_KEY | base64 -d > key.json fi -if [ -n $KEY ]; then +if [[ -n $KEY ]]; then wget "https://github.com/navit-gps/infrastructure-blackbox/raw/master/keyrings/keystore.gpg" openssl aes-256-cbc -d -in keystore.gpg -md md5 -k $KEY > ~/.keystore keytool -importkeystore -srcstorepass "$STORE_PASS" -deststorepass "$STORE_PASS" -srckeystore ~/.keystore -destkeystore ~/.keystore -deststoretype pkcs12 |
