Class: Fastlane::Helper::ReleaseHelperHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/release_helper/helper/release_helper_helper.rb

Class Method Summary collapse

Class Method Details

.git_log(pretty, start) ⇒ Object

class methods that you define here become available in your action as ‘Helper::ReleaseHelperHelper.your_method`



11
12
13
14
# File 'lib/fastlane/plugin/release_helper/helper/release_helper_helper.rb', line 11

def self.git_log(pretty, start)
  command = "git log --pretty='#{pretty}' --reverse #{start}..HEAD"
  Actions.sh(command, log: false).chomp
end

.parse_commit(params) ⇒ Object



16
17
18
# File 'lib/fastlane/plugin/release_helper/helper/release_helper_helper.rb', line 16

def self.parse_commit(params) 
  UI.message(params)
end

.show_messageObject



20
21
22
# File 'lib/fastlane/plugin/release_helper/helper/release_helper_helper.rb', line 20

def self.show_message
  UI.message("Hello from the release_helper plugin helper!")
end