Skip to content

Commit

Permalink
Prepare release 11
Browse files Browse the repository at this point in the history
  • Loading branch information
TomBursch committed Aug 4, 2021
1 parent 6d9e4dc commit 89ccb24
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy_play_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 10 additions & 0 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 89ccb24

Please sign in to comment.