Sha256: 71e50d074f7407a982b07a65943a4644b0cdf445b11da826666d7a61a7ba2da3

Contents?: true

Size: 540 Bytes

Versions: 3

Compression:

Stored size: 540 Bytes

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class TeamIdAction
      def self.run(params)
        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, :CUPERTINO_TEAM_ID, :FASTLANE_TEAM_ID].each do |current|
          ENV[current.to_s] = team
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastlane-0.6.1 lib/fastlane/actions/team_id.rb
fastlane-0.6.0 lib/fastlane/actions/team_id.rb
fastlane-0.5.0 lib/fastlane/actions/team_id.rb