Class: Fastlane::Actions::DeliverAction
- Inherits:
-
Fastlane::Action
- Object
- Fastlane::Action
- Fastlane::Actions::DeliverAction
- Defined in:
- lib/fastlane/actions/deliver.rb
Class Method Summary collapse
- .author ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .run(config) ⇒ Object
Methods inherited from Fastlane::Action
action_name, authors, details, output, return_value, sh, step_text
Class Method Details
.author ⇒ Object
34 35 36 |
# File 'lib/fastlane/actions/deliver.rb', line 34 def self. "KrauseFx" end |
.available_options ⇒ Object
28 29 30 31 32 |
# File 'lib/fastlane/actions/deliver.rb', line 28 def self. require "deliver" require "deliver/options" FastlaneCore::CommanderGenerator.new.generate(Deliver::Options.) end |
.description ⇒ Object
24 25 26 |
# File 'lib/fastlane/actions/deliver.rb', line 24 def self.description "Uses deliver to upload new app metadata and builds to iTunes Connect" end |
.is_supported?(platform) ⇒ Boolean
38 39 40 |
# File 'lib/fastlane/actions/deliver.rb', line 38 def self.is_supported?(platform) [:ios, :mac].include?(platform) end |
.run(config) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/fastlane/actions/deliver.rb', line 7 def self.run(config) require 'deliver' begin FastlaneCore::UpdateChecker.start_looking_for_update('deliver') unless Helper.is_test? config.load_configuration_file("Deliverfile") config[:screenshots_path] = Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH] if Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH] config[:ipa] = Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] if Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] return config if Helper.test? Deliver::Runner.new(config).run ensure FastlaneCore::UpdateChecker.show_update_status('deliver', Deliver::VERSION) end end |