Class: Fastlane::Actions::EnBuildNumberAction

Inherits:
Action
  • Object
show all
Defined in:
lib/fastlane/plugin/ciutils/actions/en_build_number.rb

Documentation collapse

Class Method Summary collapse

Class Method Details

.authorsObject



20
21
22
23
# File 'lib/fastlane/plugin/ciutils/actions/en_build_number.rb', line 20

def self.authors
  # So no one will ever forget your contribution to fastlane :) You are awesome btw!
  ["Nicolae Ghimbovschi"]
end

.descriptionObject



12
13
14
# File 'lib/fastlane/plugin/ciutils/actions/en_build_number.rb', line 12

def self.description
  "Get the value for build number from environment"
end

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/fastlane/plugin/ciutils/actions/en_build_number.rb', line 25

def self.is_supported?(platform)
  true
end

.return_valueObject



16
17
18
# File 'lib/fastlane/plugin/ciutils/actions/en_build_number.rb', line 16

def self.return_value
  "Returns the value of env BUILD_NUMBER, else returns 1. Value is string"
end

.run(params) ⇒ Object



4
5
6
# File 'lib/fastlane/plugin/ciutils/actions/en_build_number.rb', line 4

def self.run(params)
  return Helper::CiutilsHelper.en_ci_build_number()
end