chore: Implement playstore CD

This commit is contained in:
Christian Pauly 2020-11-22 10:04:47 +00:00
commit a5c7e4baaf
21 changed files with 190 additions and 29 deletions

View file

@ -1,7 +1,14 @@
#!/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 ../..
cd android
echo $FDROID_KEY | base64 --decode --ignore-garbage > key.jks
echo "storePassword=${FDROID_KEY_PASS}" >> key.properties
echo "keyPassword=${FDROID_KEY_PASS}" >> key.properties
echo "keyAlias=key" >> key.properties
echo "storeFile=../key.jks" >> key.properties
echo $PLAYSTORE_DEPLOY_KEY >> keys.json
bundle install
bundle update fastlane
bundle exec fastlane set_build_code_internal
cd app
echo $GOOGLE_SERVICES >> google-services.json/..
cd ../..