Sha256: 8c49e12ff6c886f7f7dc68f618059edbaf87d0f54e1f5833ab3ca0aa32fcbab7
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
module Fastlane module Actions module SharedValues end class DeliverAction 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 # This should be executed in the fastlane folder 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']) # deliver will store it in the environment end FastlaneCore::UpdateChecker.show_update_status('deliver', Deliver::VERSION) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fastlane-0.6.1 | lib/fastlane/actions/deliver.rb |