Class: Fastlane::Actions::PublishReleaseAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::PublishReleaseAction
- Defined in:
- lib/fastlane/plugin/auth0_shipper/actions/publish_release_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .return_value ⇒ Object
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
17 18 19 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/publish_release_action.rb', line 17 def self. ["Hernan Zalazar"] end |
.available_options ⇒ Object
29 30 31 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/publish_release_action.rb', line 29 def self. [] end |
.description ⇒ Object
13 14 15 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/publish_release_action.rb', line 13 def self.description "Performs a pending release represented by the latest tag" end |
.details ⇒ Object
25 26 27 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/publish_release_action.rb', line 25 def self.details "Performs the release of an Auth0 OSS library that include pod linter, push to git remote and push to CocoaPods trunk" end |
.is_supported?(platform) ⇒ Boolean
33 34 35 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/publish_release_action.rb', line 33 def self.is_supported?(platform) [:ios].include?(platform) end |
.return_value ⇒ Object
21 22 23 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/publish_release_action.rb', line 21 def self.return_value end |
.run(params) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/publish_release_action.rb', line 4 def self.run(params) tag = Actions::LastGitTagAction.run({}) UI.header "Publishing release #{tag} 📨" Actions::PodLibLintAction.run({}) Actions::PushToGitRemoteAction.run({remote: 'origin', tags: true}) Actions::PodPushAction.run({}) UI.success "Shipped #{tag}! 🚀" end |