fluffychat/scripts/prepare-android-release.sh

14 lines
478 B
Bash
Raw Normal View History

2020-11-21 11:36:13 +01:00
#!/usr/bin/env bash
2020-11-22 11:04:47 +01:00
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 ../..