refactor: CI

This commit is contained in:
Christian Pauly 2020-11-21 11:36:13 +01:00
commit 8ca6b63e2d
16 changed files with 127 additions and 87 deletions

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
/bin/bash ./scripts/prepare-android-release.sh
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 ../..