mirror of https://github.com/iSoron/uhabits.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
310 B
17 lines
310 B
#!/bin/sh
|
|
cd "$(dirname "$0")"
|
|
if [ -z "$GPG_PASSWORD" ]; then
|
|
echo Env variable GPG_PASSWORD must be defined
|
|
exit 1
|
|
fi
|
|
for file in gcp-key.json keystore.jks gradle.properties env; do
|
|
gpg \
|
|
--quiet \
|
|
--batch \
|
|
--yes \
|
|
--decrypt \
|
|
--passphrase="$GPG_PASSWORD" \
|
|
--output $file \
|
|
$file.gpg
|
|
done
|