Class: Fastlane::Actions::IosCurrentBranchIsHotfixAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::IosCurrentBranchIsHotfixAction
- Defined in:
- lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_current_branch_is_hotfix.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
31 32 33 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_current_branch_is_hotfix.rb', line 31 def self. ['Automattic'] end |
.available_options ⇒ Object
21 22 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_current_branch_is_hotfix.rb', line 21 def self. end |
.description ⇒ Object
13 14 15 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_current_branch_is_hotfix.rb', line 13 def self.description 'Checks if the current branch is for a hotfix' end |
.details ⇒ Object
17 18 19 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_current_branch_is_hotfix.rb', line 17 def self.details 'Checks if the current branch is for a hotfix' end |
.is_supported?(platform) ⇒ Boolean
35 36 37 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_current_branch_is_hotfix.rb', line 35 def self.is_supported?(platform) %i[ios mac].include?(platform) end |
.output ⇒ Object
24 25 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_current_branch_is_hotfix.rb', line 24 def self.output end |
.return_value ⇒ Object
27 28 29 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_current_branch_is_hotfix.rb', line 27 def self.return_value 'True if the branch is for a hotfix, false otherwise' end |
.run(params) ⇒ Object
4 5 6 7 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_current_branch_is_hotfix.rb', line 4 def self.run(params) require_relative '../../helper/ios/ios_version_helper' Fastlane::Helper::Ios::VersionHelper.is_hotfix?(Fastlane::Helper::Ios::VersionHelper.get_public_version) end |