Sha256: 890413c0c2a6dd3656bb9dda7e18e84d44edb2e56c2cf8a6728b7d0b9eaee960

Contents?: true

Size: 1.09 KB

Versions: 20

Compression:

Stored size: 1.09 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

20 entries across 20 versions & 1 rubygems

Version Path
fastlane-1.20.0 lib/fastlane/actions/appstore.rb
fastlane-1.19.0 lib/fastlane/actions/appstore.rb
fastlane-1.18.0 lib/fastlane/actions/appstore.rb
fastlane-1.17.1 lib/fastlane/actions/appstore.rb
fastlane-1.17.0 lib/fastlane/actions/appstore.rb
fastlane-1.16.0 lib/fastlane/actions/appstore.rb
fastlane-1.15.0 lib/fastlane/actions/appstore.rb
fastlane-1.14.1 lib/fastlane/actions/appstore.rb
fastlane-1.14.0 lib/fastlane/actions/appstore.rb
fastlane-1.13.1 lib/fastlane/actions/appstore.rb
fastlane-1.13.0 lib/fastlane/actions/appstore.rb
fastlane-1.12.0 lib/fastlane/actions/appstore.rb
fastlane-1.11.0 lib/fastlane/actions/appstore.rb
fastlane-1.10.0 lib/fastlane/actions/appstore.rb
fastlane-1.9.0 lib/fastlane/actions/appstore.rb
fastlane-1.8.0 lib/fastlane/actions/appstore.rb
fastlane-1.7.3 lib/fastlane/actions/appstore.rb
fastlane-1.7.2 lib/fastlane/actions/appstore.rb
fastlane-1.7.1 lib/fastlane/actions/appstore.rb
fastlane-1.7.0 lib/fastlane/actions/appstore.rb