Sha256: d66d02f9ddeaefba03e60354a8cec45246eb6d89355f70d12f0d64954de910a6

Contents?: true

Size: 896 Bytes

Versions: 502

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

502 entries across 502 versions & 5 rubygems

Version Path
fastlane-2.117.0.beta.20190215200101 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.117.0.beta.20190214200107 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.117.0.beta.20190213200055 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.117.0.beta.20190212200112 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.117.0.beta.20190211200054 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.117.0.beta.20190210200028 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.117.0.beta.20190209200055 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.117.0.beta.20190208200116 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.117.0.beta.20190207200055 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.116.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.116.0.beta.20190206200014 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.116.0.beta.20190205200046 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.116.0.beta.20190204200009 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.116.0.beta.20190203200034 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.116.0.beta.20190202200022 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.116.0.beta.20190201200019 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.116.0.beta.20190131200016 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.116.0.beta.20190130200045 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.116.0.beta.20190129200025 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.116.0.beta.20190128200102 fastlane/lib/fastlane/actions/team_name.rb