@cosmetic updated release changelog templates.

This commit is contained in:
Leonardo Galli 2018-11-20 11:18:55 +01:00
parent e0e531c287
commit 9ba1d26f05
2 changed files with 4 additions and 4 deletions

View File

@ -82,13 +82,13 @@ ignore_regexps = [
## whenever you are tweaking this variable.
##
section_regexps = [
('**New features**', [
('**New features:**', [
r'^[aA]dded?\s*:?\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n]*)$',
r'^[uU]pdated?\s*:?\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n]*)$',
r'^[cC]hanged?\s*:?\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n]*)$',
r'^[nN]ew?\s*:?\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n]*)$',
]),
('**Fixes**', [
('**Fixes:**', [
r'^(?![mM]erge\s*)'
]
),
@ -151,7 +151,7 @@ subject_process = (strip |
ReSub(r'^([cC]hang(ed?)?)(\s?:?\s)(.*)$', r'\4') |
ReSub(r'^([fF]ix(ed?)?)(\s?:?\s)(.*)$', r'\4') |
ReSub(r'^([uU]pdat(ed?)?)(\s?:?\s)(.*)$', r'\4') |
ReSub(r'#(\d{3,4})', r'<a href="https://github.com/Radarr/Radarr/issues/\1">\1</a>') |
ReSub(r'#(\d{3,4})', r'Issue #\1') |
SetIfEmpty("No commit message.") | ucfirst | final_dot)

View File

@ -5,7 +5,7 @@
{{#sections}}
{{{label}}}
{{#commits}}
- {{{subject}}} [<a href="https://github.com/{{{author}}}">{{{author}}}</a>]
- {{{subject}}} [{{{author}}}]
{{/commits}}
{{/sections}}