From 89ccb2458b22a1df045a335c748fff4b4d0fd075 Mon Sep 17 00:00:00 2001 From: Tom Bursch Date: Thu, 5 Aug 2021 00:53:05 +0200 Subject: [PATCH] Prepare release 11 --- .github/workflows/deploy_play_store.yml | 4 ++-- android/fastlane/Fastfile | 10 ++++++++++ pubspec.yaml | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_play_store.yml b/.github/workflows/deploy_play_store.yml index 9863c149..d78bc1f4 100644 --- a/.github/workflows/deploy_play_store.yml +++ b/.github/workflows/deploy_play_store.yml @@ -52,9 +52,9 @@ jobs: - name: Create .env file run: touch .env - # Build and deploy with Fastlane (by default, to beta track) 🚀. + # Build and deploy with Fastlane (by default, to internal track) 🚀. # Naturally, promote_to_production only deploys. - - run: bundle exec fastlane ${{ github.event.inputs.lane || 'beta' }} + - run: bundle exec fastlane ${{ github.event.inputs.lane || 'internal' }} env: PLAY_STORE_CONFIG_JSON: ${{ secrets.PLAY_STORE_CONFIG_JSON }} working-directory: android diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile index bd888e35..a08dc7b5 100644 --- a/android/fastlane/Fastfile +++ b/android/fastlane/Fastfile @@ -21,6 +21,16 @@ platform :android do gradle(task: "test") end + desc "Submit a new internal build to Google Play" + lane :internal do + sh "flutter build appbundle -v" + upload_to_play_store( + track: 'internal', + aab: '../build/app/outputs/bundle/release/app-release.aab', + json_key_data: ENV['PLAY_STORE_CONFIG_JSON'], + ) + end + desc "Submit a new beta build to Google Play" lane :beta do sh "flutter build appbundle -v" diff --git a/pubspec.yaml b/pubspec.yaml index 5ea769d8..fc6dc690 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.0.10+10 +version: 0.0.11+11 environment: sdk: ">=2.10.0 <3.0.0"