fluffychat/scripts/prepare-android-release.sh
Christian Pauly bb4bb9f888 chore: fix CI
2020-11-21 12:43:36 +00:00

8 lines
471 B
Bash
Executable File

#!/usr/bin/env bash
cd android && echo $FDROID_KEY | base64 --decode --ignore-garbage > key.jks && cd ..
cd android && echo "storePassword=${FDROID_KEY_PASS}" >> key.properties && cd ..
cd android && echo "keyPassword=${FDROID_KEY_PASS}" >> key.properties && cd ..
cd android && echo "keyAlias=key" >> key.properties && cd ..
cd android && echo "storeFile=../key.jks" >> key.properties && cd ..
cd android/app && echo $GOOGLE_SERVICES >> google-services.json && cd ../..