9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'deliver/lib/deliver/submit_for_review.rb', line 9
def submit!(options)
app = Deliver.cache[:app]
platform = Spaceship::ConnectAPI::Platform.map(options[:platform])
version = app.get_edit_app_store_version(platform: platform)
unless version
UI.user_error!("Cannot submit for review - could not find an editable version for '#{platform}'")
return
end
build = select_build(options, app, version, platform)
update_export_compliance(options, app, build)
update_idfa(options, app, version)
update_submission_information(options, app)
create_review_submission(options, app, version, platform)
UI.success("Successfully submitted the app for review!")
end
|