Compare commits
2 Commits
c010662474
...
7155b7818c
Author | SHA1 | Date | |
---|---|---|---|
7155b7818c | |||
71299744da |
@ -25,6 +25,18 @@ module Fastlane
|
|||||||
UI.message("👉🏼 App built")
|
UI.message("👉🏼 App built")
|
||||||
|
|
||||||
# Upload the Android App Bundle to the Play Store
|
# Upload the Android App Bundle to the Play Store
|
||||||
|
begin
|
||||||
|
other_action.upload_to_play_store(
|
||||||
|
track: params[:beta_type],
|
||||||
|
json_key: './service_account_key.json',
|
||||||
|
aab: '../build/app/outputs/bundle/release/app-release.aab',
|
||||||
|
skip_upload_metadata: true,
|
||||||
|
skip_upload_images: true,
|
||||||
|
skip_upload_screenshots: true,
|
||||||
|
release_status: "completed"
|
||||||
|
)
|
||||||
|
rescue StandardError => e
|
||||||
|
UI.message("👉🏼 Unable to upload as completed; try to upload it in draft status")
|
||||||
other_action.upload_to_play_store(
|
other_action.upload_to_play_store(
|
||||||
track: params[:beta_type],
|
track: params[:beta_type],
|
||||||
json_key: './service_account_key.json',
|
json_key: './service_account_key.json',
|
||||||
@ -34,6 +46,8 @@ module Fastlane
|
|||||||
skip_upload_screenshots: true,
|
skip_upload_screenshots: true,
|
||||||
release_status: "draft"
|
release_status: "draft"
|
||||||
)
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
# Delete artifacts files
|
# Delete artifacts files
|
||||||
artifacts = ['android_keys.zip', 'key.jks', 'key.properties', 'service_account_key.json']
|
artifacts = ['android_keys.zip', 'key.jks', 'key.properties', 'service_account_key.json']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user