Sha256: 5cbacb0f44732b324666f4dc0db422a0a2872a757cf4b675ee75341d7dda96e3

Contents?: true

Size: 1.31 KB

Versions: 12

Compression:

Stored size: 1.31 KB

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class TestflightAction < Action
      def self.run(params)
        values = params.values
        values[:beta] = true # always true for beta actions
        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 a new build to iTunes Connect. This won't upload app metadata"
      end

      def self.available_options
        [
          FastlaneCore::ConfigItem.new(key: :skip_deploy,
                                       env_name: "FL_DELIVER_SKIP_DEPLOY",
                                       description: "Skip the distribution of the app to all beta testers",
                                       default_value: false,
                                       is_string: false)
        ]
      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/testflight.rb
fastlane-1.29.1 lib/fastlane/actions/testflight.rb
fastlane-1.29.0 lib/fastlane/actions/testflight.rb
fastlane-1.28.0 lib/fastlane/actions/testflight.rb
fastlane-1.27.0 lib/fastlane/actions/testflight.rb
fastlane-1.26.0 lib/fastlane/actions/testflight.rb
fastlane-1.25.1 lib/fastlane/actions/testflight.rb
fastlane-1.25.0 lib/fastlane/actions/testflight.rb
fastlane-1.24.0 lib/fastlane/actions/testflight.rb
fastlane-1.23.0 lib/fastlane/actions/testflight.rb
fastlane-1.22.0 lib/fastlane/actions/testflight.rb
fastlane-1.21.0 lib/fastlane/actions/testflight.rb