Class: Fastlane::Actions::IosFinalTagAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::IosFinalTagAction
- Defined in:
- lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_final_tag.rb
Documentation collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .category ⇒ Object
- .deprecated_notes ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .output ⇒ Object
- .return_value ⇒ Object
Class Method Summary collapse
Class Method Details
.authors ⇒ Object
55 56 57 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_final_tag.rb', line 55 def self. ['Automattic'] end |
.available_options ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_final_tag.rb', line 30 def self. [ FastlaneCore::ConfigItem.new(key: :version, env_name: 'FL_IOS_FINAL_TAG_VERSION', description: 'The version of the release to finalize', type: String), ] end |
.category ⇒ Object
45 46 47 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_final_tag.rb', line 45 def self.category :deprecated end |
.deprecated_notes ⇒ Object
49 50 51 52 53 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_final_tag.rb', line 49 def self.deprecated_notes "This action is deprecated as we don't believe it's currently in use in our projects. However, just to be sure that it's not in use, we decided to deprecate it first. If you believe that this is a mistake, please let us know on Slack." end |
.description ⇒ Object
22 23 24 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_final_tag.rb', line 22 def self.description '(DEPRECATED) Finalize a relasae' end |
.details ⇒ Object
26 27 28 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_final_tag.rb', line 26 def self.details '(DEPRECATED) Removes the temp tags and pushes the final one' end |
.is_supported?(platform) ⇒ Boolean
59 60 61 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_final_tag.rb', line 59 def self.is_supported?(platform) [:ios, :mac].include?(platform) end |
.output ⇒ Object
39 40 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_final_tag.rb', line 39 def self.output end |
.return_value ⇒ Object
42 43 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_final_tag.rb', line 42 def self.return_value end |
.run(params) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_final_tag.rb', line 4 def self.run(params) return unless UI.confirm("#{deprecated_notes} Would you like to continue with the action?") require_relative '../../helper/ios/ios_git_helper' require_relative '../../helper/ios/ios_version_helper' version = Fastlane::Helper::Ios::VersionHelper.get_public_version UI.("Tagging final #{version}...") Fastlane::Helper::GitHelper.create_tag(version) other_action.(version: version) end |