Sha256: 3734fca655bb4b9a01dc2d38592759b1b7359edcf181cf15230a9e95e0c8d93d

Contents?: true

Size: 894 Bytes

Versions: 472

Compression:

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

472 entries across 472 versions & 1 rubygems

Version Path
fastlane-2.67.0.beta.20171126010003 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.67.0.beta.20171125010004 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.67.0.beta.20171124010004 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.67.0.beta.20171123010003 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.67.0.beta.20171122010004 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.66.2 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.66.1 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.67.0.beta.20171121010003 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.66.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.65.0 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.65.0.beta.20171120010003 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.65.0.beta.20171119010004 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.65.0.beta.20171118010003 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.65.0.beta.20171117010003 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.65.0.beta.20171116010004 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.65.0.beta.20171115010004 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.65.0.beta.20171114010003 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.64.1 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.65.0.beta.20171113010004 fastlane/lib/fastlane/actions/team_name.rb
fastlane-2.65.0.beta.20171112010003 fastlane/lib/fastlane/actions/team_name.rb