class Fastlane::Actions::PerformReleaseAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/auth0_shipper/actions/perform_release_action.rb, line 27 def self.available_options [ FastlaneCore::ConfigItem.new(key: :target, env_name: "AUTH0_SHIPPER_TARGET", description: "Xcode target for the Library", optional: true, type: String) ] end
description()
click to toggle source
# 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()
click to toggle source
# 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)
click to toggle source
# File lib/fastlane/plugin/auth0_shipper/actions/perform_release_action.rb, line 37 def self.is_supported?(platform) [:ios].include?(platform) end
return_value()
click to toggle source
# File lib/fastlane/plugin/auth0_shipper/actions/perform_release_action.rb, line 19 def self.return_value end
run(params)
click to toggle source
# 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