Update android/fastlane/Fastfile
This commit is contained in:
parent
b794e4aa7b
commit
2721f26315
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue