Sha256: d66d02f9ddeaefba03e60354a8cec45246eb6d89355f70d12f0d64954de910a6

Contents?: true

Size: 896 Bytes

Versions: 501

Compression:

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

501 entries across 501 versions & 5 rubygems

Version Path
fastlane-2.225.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.224.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.223.1 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.223.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.222.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.221.1 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.221.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.220.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.219.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.218.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-security-patched-2.216.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.217.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.216.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.215.1 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.215.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-mercafacil-2.214.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.214.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.213.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.212.2 fastlane/lib/fastlane/actions/team_name.rb
fastlane_pricing_fix-2.212.1 fastlane/lib/fastlane/actions/team_name.rb