chore: Add internal test track, update changelogs for v28

This commit is contained in:
Anton Stubenbord
2023-04-27 12:02:12 +02:00
parent 32b41e7554
commit 8ed6487a91
3 changed files with 29 additions and 2 deletions

View File

@@ -21,6 +21,27 @@ 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_CREDENTIALS'],
release_status: "draft",
)
end
desc "Promote internal track to alpha"
lane :promote_to_beta do
upload_to_play_store(
track: 'internal',
track_promote_to: 'alpha',
json_key_data: ENV['PLAY_STORE_CREDENTIALS'],
)
end
desc "Submit a new alpha build to Google Play"
lane :alpha do
sh "flutter build appbundle -v"
@@ -37,7 +58,6 @@ platform :android do
upload_to_play_store(
track: 'alpha',
track_promote_to: 'beta',
skip_upload_changelogs: true,
json_key_data: ENV['PLAY_STORE_CREDENTIALS'],
)
end
@@ -58,7 +78,6 @@ platform :android do
upload_to_play_store(
track: 'beta',
track_promote_to: 'production',
skip_upload_changelogs: true,
json_key_data: ENV['PLAY_STORE_CREDENTIALS'],
)
end