Class: Fastlane::Actions::IosGetBuildNumberAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::IosGetBuildNumberAction
- Defined in:
- lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_build_number.rb
Documentation collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .output ⇒ Object
- .return_value ⇒ Object
Class Method Summary collapse
Class Method Details
.authors ⇒ Object
44 45 46 47 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_build_number.rb', line 44 def self. # So no one will ever forget your contribution to fastlane :) You are awesome btw! ['Automattic'] end |
.available_options ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_build_number.rb', line 23 def self. [ FastlaneCore::ConfigItem.new( key: :xcconfig_file_path, env_name: 'FL_IOS_XCCONFIG_FILE_PATH', description: 'Path to the .xcconfig file containing the build number', type: String, optional: false ), ] end |
.description ⇒ Object
15 16 17 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_build_number.rb', line 15 def self.description 'Gets the build number of the app' end |
.details ⇒ Object
19 20 21 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_build_number.rb', line 19 def self.details 'Gets the build number of the app' end |
.is_supported?(platform) ⇒ Boolean
49 50 51 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_build_number.rb', line 49 def self.is_supported?(platform) [:ios, :mac].include?(platform) end |
.output ⇒ Object
35 36 37 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_build_number.rb', line 35 def self.output # Define the shared values you are going to provide end |
.return_value ⇒ Object
39 40 41 42 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_build_number.rb', line 39 def self.return_value # If you method provides a return value, you can describe here what it does 'Return the build number of the app' end |
.run(params) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_build_number.rb', line 4 def self.run(params) require_relative '../../helper/ios/ios_version_helper' xcconfig_file_path = params[:xcconfig_file_path] Fastlane::Helper::Ios::VersionHelper.read_build_number_from_config_file(xcconfig_file_path) end |