chore: Implement playstore CD
This commit is contained in:
parent
edfbb16044
commit
a5c7e4baaf
21 changed files with 190 additions and 29 deletions
|
|
@ -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 ../..
|
||||
|
|
@ -5,3 +5,6 @@ flutter pub get
|
|||
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
|
||||
mkdir -p build/android
|
||||
cp build/app/outputs/bundle/release/app-release.aab build/android/
|
||||
cd android
|
||||
bundle exec fastlane deploy_internal_test
|
||||
cd ..
|
||||
7
scripts/release-playstore.sh
Executable file
7
scripts/release-playstore.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
cd android
|
||||
bundle install
|
||||
bundle update fastlane
|
||||
echo $PLAYSTORE_DEPLOY_KEY >> keys.json
|
||||
bundle exec fastlane deploy_release
|
||||
cd ..
|
||||
Loading…
Add table
Add a link
Reference in a new issue