Class: Fastlane::Actions::IosGetAppVersionAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::IosGetAppVersionAction
- Defined in:
- lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_app_version.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
37 38 39 40 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_app_version.rb', line 37 def self. # So no one will ever forget your contribution to fastlane :) You are awesome btw! ['Automattic'] end |
.available_options ⇒ Object
24 25 26 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_app_version.rb', line 24 def self. # Define all options your action supports. end |
.description ⇒ Object
16 17 18 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_app_version.rb', line 16 def self.description 'Gets the public version of the app' end |
.details ⇒ Object
20 21 22 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_app_version.rb', line 20 def self.details 'Gets the public version of the app' end |
.is_supported?(platform) ⇒ Boolean
42 43 44 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_app_version.rb', line 42 def self.is_supported?(platform) platform == :ios end |
.output ⇒ Object
28 29 30 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_app_version.rb', line 28 def self.output # Define the shared values you are going to provide end |
.return_value ⇒ Object
32 33 34 35 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_app_version.rb', line 32 def self.return_value # If you method provides a return value, you can describe here what it does 'Return the public version of the app' end |
.run(params) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_app_version.rb', line 4 def self.run(params) require_relative '../../helper/ios/ios_version_helper' UI.user_error!('You need to set at least the PUBLIC_CONFIG_FILE env var to the path to the public xcconfig file') unless ENV['PUBLIC_CONFIG_FILE'] Fastlane::Helper::Ios::VersionHelper.get_public_version end |