fluffychat/scripts/prepare-android-release.sh

16 lines
484 B
Bash
Raw Normal View History

2020-12-08 14:46:47 +00:00
#!/bin/sh -ve
2020-11-22 10:04:47 +00: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
2020-12-09 06:18:34 +00:00
ls | grep key
2020-11-22 10:04:47 +00:00
bundle install
bundle update fastlane
bundle exec fastlane set_build_code_internal
cd app
2020-11-22 12:27:47 +00:00
echo $GOOGLE_SERVICES >> google-services.json
2020-12-08 14:46:47 +00:00
cd ../..