Skip to content

Commit

Permalink
Update build number in android
Browse files Browse the repository at this point in the history
  • Loading branch information
burhanrashid52 committed Jul 22, 2024
1 parent 07547ba commit e6c6434
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit e6c6434

Please sign in to comment.