Sha256: eeb7299c3669cc21fe1d7da8d0055045083525bac0091d79104c8a18b23bcc17

Contents?: true

Size: 1.26 KB

Versions: 51

Compression:

Stored size: 1.26 KB

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class DeliverAction < Action
      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

      def self.description
        "Uses deliver to upload new app metadata and builds to iTunes Connect"
      end

      def self.available_options
        require "deliver"
        require "deliver/options"
        FastlaneCore::CommanderGenerator.new.generate(Deliver::Options.available_options)
      end

      def self.author
        "KrauseFx"
      end

      def self.is_supported?(platform)
        [:ios, :mac].include?(platform)
      end
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
fastlane-1.63.1 lib/fastlane/actions/deliver.rb
fastlane-1.63.0 lib/fastlane/actions/deliver.rb
fastlane-1.62.0 lib/fastlane/actions/deliver.rb
fastlane-1.61.0 lib/fastlane/actions/deliver.rb
fastlane-1.60.0 lib/fastlane/actions/deliver.rb
fastlane-1.59.0 lib/fastlane/actions/deliver.rb
fastlane-1.58.0 lib/fastlane/actions/deliver.rb
fastlane-1.57.0 lib/fastlane/actions/deliver.rb
fastlane-1.56.0 lib/fastlane/actions/deliver.rb
fastlane-1.55.0 lib/fastlane/actions/deliver.rb
fastlane-1.54.0 lib/fastlane/actions/deliver.rb