Sha256: 9aebfdf799e5d03ae1d02c46fc04ea0c8be10fd035832e03f1419359a9475fb0

Contents?: true

Size: 973 Bytes

Versions: 155

Compression:

Stored size: 973 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

155 entries across 155 versions & 1 rubygems

Version Path
fastlane-2.82.0.beta.20180222010003 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.82.0.beta.20180221010003 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.82.0.beta.20180220010002 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.82.0.beta.20180219010003 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.82.0.beta.20180218010003 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.82.0.beta.20180217010002 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.82.0.beta.20180216010003 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.82.0.beta.20180215010002 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.82.0.beta.20180214010002 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.81.0 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.81.0.beta.20180213010002 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.81.0.beta.20180212010003 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.81.0.beta.20180211010003 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.81.0.beta.20180210010002 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.81.0.beta.20180209010002 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.81.0.beta.20180208010003 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.81.0.beta.20180207010002 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.81.0.beta.20180206010002 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.81.0.beta.20180205010003 fastlane/lib/fastlane/actions/team_id.rb
fastlane-2.81.0.beta.20180204010002 fastlane/lib/fastlane/actions/team_id.rb