Sha256: b305514942be9fed2931d76e06599939de9c2a6f19aedcb67f1a12ee6f572d9d

Contents?: true

Size: 804 Bytes

Versions: 36

Compression:

Stored size: 804 Bytes

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class TeamIdAction < Action
      def self.run(params)
        team = (params.first rescue nil)
        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, :CUPERTINO_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

36 entries across 36 versions & 1 rubygems

Version Path
fastlane-1.16.0 lib/fastlane/actions/team_id.rb
fastlane-1.15.0 lib/fastlane/actions/team_id.rb
fastlane-1.14.1 lib/fastlane/actions/team_id.rb
fastlane-1.14.0 lib/fastlane/actions/team_id.rb
fastlane-1.13.1 lib/fastlane/actions/team_id.rb
fastlane-1.13.0 lib/fastlane/actions/team_id.rb
fastlane-1.12.0 lib/fastlane/actions/team_id.rb
fastlane-1.11.0 lib/fastlane/actions/team_id.rb
fastlane-1.10.0 lib/fastlane/actions/team_id.rb
fastlane-1.9.0 lib/fastlane/actions/team_id.rb
fastlane-1.8.0 lib/fastlane/actions/team_id.rb
fastlane-1.7.3 lib/fastlane/actions/team_id.rb
fastlane-1.7.2 lib/fastlane/actions/team_id.rb
fastlane-1.7.1 lib/fastlane/actions/team_id.rb
fastlane-1.7.0 lib/fastlane/actions/team_id.rb
fastlane-1.6.0 lib/fastlane/actions/team_id.rb
fastlane-1.5.0 lib/fastlane/actions/team_id.rb
fastlane-1.4.0 lib/fastlane/actions/team_id.rb
fastlane-1.3.2 lib/fastlane/actions/team_id.rb
fastlane-1.3.1 lib/fastlane/actions/team_id.rb