Sha256: 94d79f032580905c2f6956589b20d3b00dde8e546730c0e1d20f5f6e9f432de4

Contents?: true

Size: 895 Bytes

Versions: 155

Compression:

Stored size: 895 Bytes

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class TeamNameAction < Action
      def self.run(params)
        params = nil unless params.kind_of?(Array)
        team = (params || []).first
        UI.user_error!("Please pass your Team Name (e.g. team_name 'Felix Krause')") unless team.to_s.length > 0

        UI.message("Setting Team Name to '#{team}' for all build steps")

        [:FASTLANE_TEAM_NAME, :PRODUCE_TEAM_NAME].each do |current|
          ENV[current.to_s] = team
        end
      end

      def self.description
        "Set a team to use by its name"
      end

      def self.author
        "KrauseFx"
      end

      def self.is_supported?(platform)
        platform == :ios
      end

      def self.example_code
        [
          'team_name "Felix Krause"'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

155 entries across 155 versions & 1 rubygems

Version Path
fastlane-2.96.0.beta.20180516050022 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.96.0.beta.20180515050025 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.96.0.beta.20180514050029 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.96.0.beta.20180513050015 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.96.0.beta.20180512050121 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.96.0.beta.20180511050050 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.96.0.beta.20180510050112 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.95.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.95.0.beta.20180509050014 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.95.0.beta.20180508050130 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.95.0.beta.20180507050125 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.95.0.beta.20180506050030 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.95.0.beta.20180505050019 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.95.0.beta.20180504050050 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.95.0.beta.20180503050136 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.95.0.beta.20180502050125 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.94.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.94.0.beta.20180501050030 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.94.0.beta.20180430050033 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.94.0.beta.20180429050039 fastlane/lib/fastlane/actions/team_name.rb