Sha256: 69de1cbd2e19f45f2edee79d380c075c2042f0155a7de8765af4efd23d96086f

Contents?: true

Size: 1.1 KB

Versions: 12

Compression:

Stored size: 1.1 KB

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class AppstoreAction < Action
      def self.run(params)
        values = params.values
        values[:beta] = false # always false for App Store
        real_options = FastlaneCore::Configuration.create(Actions::DeliverAction.available_options, values)
        return real_options if Helper.is_test?

        Actions::DeliverAction.run(real_options)
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Upload new metadata to iTunes Connect and optionally a new binary"
      end

      def self.available_options
        options = DeliverAction.available_options
        options.delete_if { |i| i.key == :beta } # we don't want to have beta values here
        return options
      end

      def self.output
        []
      end

      def self.author
        'KrauseFx'
      end

      def self.is_supported?(platform)
        Actions::DeliverAction.is_supported? platform
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fastlane-1.29.2 lib/fastlane/actions/appstore.rb
fastlane-1.29.1 lib/fastlane/actions/appstore.rb
fastlane-1.29.0 lib/fastlane/actions/appstore.rb
fastlane-1.28.0 lib/fastlane/actions/appstore.rb
fastlane-1.27.0 lib/fastlane/actions/appstore.rb
fastlane-1.26.0 lib/fastlane/actions/appstore.rb
fastlane-1.25.1 lib/fastlane/actions/appstore.rb
fastlane-1.25.0 lib/fastlane/actions/appstore.rb
fastlane-1.24.0 lib/fastlane/actions/appstore.rb
fastlane-1.23.0 lib/fastlane/actions/appstore.rb
fastlane-1.22.0 lib/fastlane/actions/appstore.rb
fastlane-1.21.0 lib/fastlane/actions/appstore.rb