Sha256: c8b0174d7944eb0c8f0ad2f76b256eb1b11ccabf5b3138aae6a6239cfd3e4cd2

Contents?: true

Size: 829 Bytes

Versions: 69

Compression:

Stored size: 829 Bytes

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class TeamIdAction < Action
      def self.run(params)
        params = nil unless params.kind_of? Array
        team = (params || []).first
        raise "Please pass your Team ID (e.g. team_id 'Q2CBPK58CA')".red unless team.to_s.length > 0

        Helper.log.info "Setting Team ID to '#{team}' for all build steps"

        [:CERT_TEAM_ID, :SIGH_TEAM_ID, :PEM_TEAM_ID, :PRODUCE_TEAM_ID, :SIGH_TEAM_ID, :FASTLANE_TEAM_ID].each do |current|
          ENV[current.to_s] = team
        end
      end

      def self.author
        "KrauseFx"
      end

      def self.description
        "Specify the Team ID you want to use for the Apple Developer Portal"
      end

      def self.is_supported?(platform)
        platform == :ios
      end
    end
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
fastlane-1.66.0 lib/fastlane/actions/team_id.rb
fastlane-1.65.0 lib/fastlane/actions/team_id.rb
fastlane-1.64.0 lib/fastlane/actions/team_id.rb
fastlane-1.63.1 lib/fastlane/actions/team_id.rb
fastlane-1.63.0 lib/fastlane/actions/team_id.rb
fastlane-1.62.0 lib/fastlane/actions/team_id.rb
fastlane-1.61.0 lib/fastlane/actions/team_id.rb
fastlane-1.60.0 lib/fastlane/actions/team_id.rb
fastlane-1.59.0 lib/fastlane/actions/team_id.rb
fastlane-1.58.0 lib/fastlane/actions/team_id.rb
fastlane-1.57.0 lib/fastlane/actions/team_id.rb
fastlane-1.56.0 lib/fastlane/actions/team_id.rb
fastlane-1.55.0 lib/fastlane/actions/team_id.rb
fastlane-1.54.0 lib/fastlane/actions/team_id.rb
fastlane-1.53.0 lib/fastlane/actions/team_id.rb
fastlane-1.52.0 lib/fastlane/actions/team_id.rb
fastlane-1.51.0 lib/fastlane/actions/team_id.rb
fastlane-1.50.0 lib/fastlane/actions/team_id.rb
fastlane-1.49.0 lib/fastlane/actions/team_id.rb
fastlane-1.48.0 lib/fastlane/actions/team_id.rb