Class: Verto::DSL::UpdateChangelog::WithCommitMessages
- Inherits:
-
Object
- Object
- Verto::DSL::UpdateChangelog::WithCommitMessages
- Includes:
- FilteredBy
- Defined in:
- lib/verto/dsl/update_changelog/with_commit_messages.rb
Instance Method Summary collapse
Methods included from FilteredBy
Instance Method Details
#call(message_pattern = /.+/) ⇒ Object
10 11 12 13 14 |
# File 'lib/verto/dsl/update_changelog/with_commit_messages.rb', line 10 def call( = /.+/) executor.run( "git log --no-merges --pretty=format:%s #{commit_range}" ).output.split("\n").map(&:strip).select { || .match? } end |