7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'lib/fastlane/actions/deliver.rb', line 7
def self.run(params)
require 'deliver'
FastlaneCore::UpdateChecker.start_looking_for_update('deliver')
ENV['DELIVER_SCREENSHOTS_PATH'] = Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH]
force = params.include?(:force)
beta = params.include?(:beta)
skip_deploy = params.include?(:skip_deploy)
Dir.chdir(FastlaneFolder.path || Dir.pwd) do
Deliver::Deliverer.new(nil,
force: force,
is_beta_ipa: beta,
skip_deploy: skip_deploy)
Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] = File.expand_path(ENV['DELIVER_IPA_PATH']) end
FastlaneCore::UpdateChecker.show_update_status('deliver', Deliver::VERSION)
end
|