Sha256: f8f7c9b82d144b8014dea54e7741db57b609ca4301e42f933c1430942c57dab3
Contents?: true
Size: 1016 Bytes
Versions: 3
Compression:
Stored size: 1016 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 UI.user_error!("Please pass your Team ID (e.g. team_id 'Q2CBPK58CA')") unless team.to_s.length > 0 UI.message("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 def self.example_code [ 'team_id("Q2CBPK58CA")' ] end def self.category :misc end end end end
Version data entries
3 entries across 3 versions & 1 rubygems