Skip to content

Commit

Permalink
chore: polish changelog generator
Browse files Browse the repository at this point in the history
  • Loading branch information
OpatrilPeter committed Feb 5, 2021
1 parent 919173e commit 581267d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .gitchangelog.rc
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
ignore_regexps = [
r'Merge branch',
r'docs:',
r'[Bb]ump version'
]

section_regexps = [
('New features', [
r'^[Ff]eat:(.*)'
r'^[Ff]eat:'
]),
('Bug fixes', [
r'^[Ff]ix:'
]),
('Changes', [
r'^[Cc]hore:'
]),
('Other', None),
('Other changes', None),
]


include_merges = False
body_process = noop
subject_process = (strip |
ReSub(r'^([Cc]hore|[Ff]ix|[Ff]eat)\s*:\s*(.*)$', r'\2') |
ReSub(r'^(\w+)\s*:\s*(.*)$', r'\2') |
SetIfEmpty("No commit message.") | ucfirst | final_dot)

tag_filter_regexp = r'^v[0-9]+\.[0-9]+(\.[0-9]+)?$'
Expand Down

0 comments on commit 581267d

Please sign in to comment.