Class: Fastlane::Actions::IosTagBuildAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::IosTagBuildAction
- Defined in:
- lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_tag_build.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
35 36 37 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_tag_build.rb', line 35 def self. ['Automattic'] end |
.available_options ⇒ Object
26 27 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_tag_build.rb', line 26 def self. end |
.description ⇒ Object
18 19 20 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_tag_build.rb', line 18 def self.description 'Tags the current build' end |
.details ⇒ Object
22 23 24 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_tag_build.rb', line 22 def self.details 'Tags the current build' end |
.is_supported?(platform) ⇒ Boolean
39 40 41 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_tag_build.rb', line 39 def self.is_supported?(platform) %i[ios mac].include?(platform) end |
.output ⇒ Object
29 30 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_tag_build.rb', line 29 def self.output end |
.return_value ⇒ Object
32 33 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_tag_build.rb', line 32 def self.return_value end |
.run(params) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_tag_build.rb', line 4 def self.run(params) require_relative '../../helper/ios/ios_version_helper' require_relative '../../helper/ios/ios_git_helper' itc_ver = Fastlane::Helper::Ios::VersionHelper.get_build_version int_ver = Fastlane::Helper::Ios::VersionHelper.get_internal_version unless ENV['INTERNAL_CONFIG_FILE'].nil? Fastlane::Helper::GitHelper.create_tag(itc_ver) Fastlane::Helper::GitHelper.create_tag(int_ver) unless int_ver.nil? end |