Class: Fastlane::Actions::TeamIdAction
- Inherits:
-
Object
- Object
- Fastlane::Actions::TeamIdAction
- Defined in:
- lib/fastlane/actions/team_id.rb
Class Method Summary collapse
Class Method Details
.run(params) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/fastlane/actions/team_id.rb', line 7 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 |