Sha256: f33cfd9c94962ba489f5eed1ed00c688f644d54dca1ee78e24c85844b7f3df9a

Contents?: true

Size: 1.18 KB

Versions: 41

Compression:

Stored size: 1.18 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] # use snapshot's screenshots
          config[:ipa] ||= 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

41 entries across 41 versions & 1 rubygems

Version Path
fastlane-1.53.0 lib/fastlane/actions/deliver.rb
fastlane-1.52.0 lib/fastlane/actions/deliver.rb
fastlane-1.51.0 lib/fastlane/actions/deliver.rb
fastlane-1.50.0 lib/fastlane/actions/deliver.rb
fastlane-1.49.0 lib/fastlane/actions/deliver.rb
fastlane-1.48.0 lib/fastlane/actions/deliver.rb
fastlane-1.47.0 lib/fastlane/actions/deliver.rb
fastlane-1.46.1 lib/fastlane/actions/deliver.rb
fastlane-1.46.0 lib/fastlane/actions/deliver.rb
fastlane-1.45.0 lib/fastlane/actions/deliver.rb
fastlane-1.44.0 lib/fastlane/actions/deliver.rb
fastlane-1.43.0 lib/fastlane/actions/deliver.rb
fastlane-1.42.0 lib/fastlane/actions/deliver.rb
fastlane-1.41.1 lib/fastlane/actions/deliver.rb
fastlane-1.41.0 lib/fastlane/actions/deliver.rb
fastlane-1.40.0 lib/fastlane/actions/deliver.rb
fastlane-1.39.0 lib/fastlane/actions/deliver.rb
fastlane-1.38.1 lib/fastlane/actions/deliver.rb
fastlane-1.38.0 lib/fastlane/actions/deliver.rb
fastlane-1.37.0 lib/fastlane/actions/deliver.rb