Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update build number in android #47

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/android-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- android-deploy-ci
tags:
- 'v.[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+'

jobs:
deployAndroid:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 🍏🚀 Deploy to appstore
on:
push:
tags:
- 'v.[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+'

jobs:
deployIos:
Expand Down
3 changes: 2 additions & 1 deletion android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ platform :android do
desc "Deploy a new version to the Google Play"
lane :beta do
updated_version_name = ENV["FLUTTER_BUILD_NAME"]
sh "flutter build apk --release --build-name=#{updated_version_name}"
updated_version_number = ENV["FLUTTER_BUILD_NUMBER"]
sh "flutter build apk --release --build-name=#{updated_version_name} --build-number=#{updated_version_number}"
upload_to_play_store(
track: "internal",
apk: "../build/app/outputs/flutter-apk/app-release.apk",
Expand Down
Loading