From 9a2f5f31541c543cb0ad094439dcfc23d8b1580c Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 22 Nov 2020 10:47:37 +0100 Subject: [PATCH] clean up --- android/fastlane/Fastfile | 12 ++++++------ scripts/prepare-android-release.sh | 2 +- scripts/release-playstore-beta.sh | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile index c18d5564..6521ae8d 100644 --- a/android/fastlane/Fastfile +++ b/android/fastlane/Fastfile @@ -16,9 +16,9 @@ update_fastlane default_platform(:android) platform :android do - lane :set_build_code_beta do + lane :set_build_code_internal do versions = google_play_track_version_codes( - track: "beta", + track: "internal", json_key: "./keys.json" ) last_version = versions[0].to_i @@ -35,16 +35,16 @@ platform :android do end end - lane :deploy_beta_test do + lane :deploy_internal_test do versions = google_play_track_version_codes( - track: "beta", + track: "internal", json_key: "./keys.json" ) last_version = versions[0].to_i - upload_to_play_store(track: 'beta', aab: '../build/app/outputs/bundle/release/app-release.aab', version_code: "#{last_version+1}") + upload_to_play_store(track: 'internal', aab: '../build/app/outputs/bundle/release/app-release.aab', version_code: "#{last_version+1}") end lane :deploy_release do - upload_to_play_store(track: 'beta', track_promote_to: "production", deactivate_on_promote: false, skip_upload_changelogs: true) + upload_to_play_store(track: 'internal', track_promote_to: "production", deactivate_on_promote: false, skip_upload_changelogs: true) end end \ No newline at end of file diff --git a/scripts/prepare-android-release.sh b/scripts/prepare-android-release.sh index 76b402fa..6c6f4781 100755 --- a/scripts/prepare-android-release.sh +++ b/scripts/prepare-android-release.sh @@ -8,7 +8,7 @@ echo "storeFile=../key.jks" >> key.properties echo $PLAYSTORE_DEPLOY_KEY >> keys.json bundle install bundle update fastlane -bundle exec fastlane set_build_code_beta +bundle exec fastlane set_build_code_internal cd app echo $GOOGLE_SERVICES >> google-services.json/.. cd ../.. \ No newline at end of file diff --git a/scripts/release-playstore-beta.sh b/scripts/release-playstore-beta.sh index 7b6a961b..c728a9e3 100755 --- a/scripts/release-playstore-beta.sh +++ b/scripts/release-playstore-beta.sh @@ -6,5 +6,5 @@ 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_beta_test +bundle exec fastlane deploy_internal_test cd .. \ No newline at end of file