Update android/fastlane/Fastfile

This commit is contained in:
Krille Fear 2021-05-30 12:32:38 +00:00
parent 12fe90eaa5
commit 4705b8d998

View File

@ -27,7 +27,7 @@ platform :android do
config = File.read("./pubspec.yaml") config = File.read("./pubspec.yaml")
version_name = config.match(re).captures version_name = config.match(re).captures
subst = "version: #{version_name[0]}+#{last_version+1}" subst = "version: #{version_name[0]}+#{last_version+2}"
result = config.gsub(re, subst) result = config.gsub(re, subst)
@ -47,4 +47,4 @@ platform :android do
lane :deploy_release do lane :deploy_release do
upload_to_play_store(track: 'internal', 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
end end