Class: Fastlane::Actions::PerformReleaseAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::PerformReleaseAction
- Defined in:
- lib/fastlane/plugin/auth0_shipper/actions/perform_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
15 16 17 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/perform_release_action.rb', line 15 def self. ["Hernan Zalazar"] end |
.available_options ⇒ Object
27 28 29 30 31 32 33 34 35 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/perform_release_action.rb', line 27 def self. [ FastlaneCore::ConfigItem.new(key: :target, env_name: "AUTH0_SHIPPER_TARGET", description: "Xcode target for the Library", optional: true, type: String) ] end |
.description ⇒ Object
11 12 13 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/perform_release_action.rb', line 11 def self.description "Performs the release for an Auth0 OSS library" end |
.details ⇒ Object
23 24 25 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/perform_release_action.rb', line 23 def self.details "Performs the release of an Auth0 OSS library by creating a tag and pushing it to the remote, and creating the Github Release" end |
.is_supported?(platform) ⇒ Boolean
37 38 39 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/perform_release_action.rb', line 37 def self.is_supported?(platform) [:ios].include?(platform) end |
.return_value ⇒ Object
19 20 21 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/perform_release_action.rb', line 19 def self.return_value end |
.run(params) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/fastlane/plugin/auth0_shipper/actions/perform_release_action.rb', line 4 def self.run(params) version = Helper::Auth0ShipperHelper.ios_current_version(params[:target]) UI.header "Performing release for version #{version} 🏗" Actions::AddGitTagAction.run(tag: version.to_s) Actions::PushGitTagsAction.run({remote: 'origin', tag: version.to_s}) end |