Sha256: 636e6a528608b763909ebbaa172c2efb536927a9b4092ea517537ab6246b92de

Contents?: true

Size: 702 Bytes

Versions: 41

Compression:

Stored size: 702 Bytes

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class TeamNameAction < Action
      def self.run(params)
        team = (params.first rescue nil)
        raise "Please pass your Team Name (e.g. team_name 'Felix Krause')".red unless team.to_s.length > 0

        Helper.log.info "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
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
fastlane-1.20.0 lib/fastlane/actions/team_name.rb
fastlane-1.19.0 lib/fastlane/actions/team_name.rb
fastlane-1.18.0 lib/fastlane/actions/team_name.rb
fastlane-1.17.1 lib/fastlane/actions/team_name.rb
fastlane-1.17.0 lib/fastlane/actions/team_name.rb
fastlane-1.16.0 lib/fastlane/actions/team_name.rb
fastlane-1.15.0 lib/fastlane/actions/team_name.rb
fastlane-1.14.1 lib/fastlane/actions/team_name.rb
fastlane-1.14.0 lib/fastlane/actions/team_name.rb
fastlane-1.13.1 lib/fastlane/actions/team_name.rb
fastlane-1.13.0 lib/fastlane/actions/team_name.rb
fastlane-1.12.0 lib/fastlane/actions/team_name.rb
fastlane-1.11.0 lib/fastlane/actions/team_name.rb
fastlane-1.10.0 lib/fastlane/actions/team_name.rb
fastlane-1.9.0 lib/fastlane/actions/team_name.rb
fastlane-1.8.0 lib/fastlane/actions/team_name.rb
fastlane-1.7.3 lib/fastlane/actions/team_name.rb
fastlane-1.7.2 lib/fastlane/actions/team_name.rb
fastlane-1.7.1 lib/fastlane/actions/team_name.rb
fastlane-1.7.0 lib/fastlane/actions/team_name.rb