File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,27 @@ git_tag_enable = true
47
47
changelog_update = true
48
48
49
49
[changelog ]
50
+ body = """
51
+ ## [{{ version | trim_start_matches(pat="v") }}]\
52
+ {%- if release_link -%}\
53
+ ({{ release_link }})\
54
+ {% endif %} \
55
+ - {{ timestamp | date(format="%Y-%m-%d") }}
56
+ {% for group, commits in commits | group_by(attribute="group") %}
57
+ ### {{ group | upper_first }}
58
+ {% for commit in commits %}
59
+ {%- if commit.scope -%}
60
+ - *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}\
61
+ {{ commit.message }} by @{{ commit.author.name }}\
62
+ {%- if commit.links %} \
63
+ ({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%})\
64
+ {% endif %}
65
+ {% else -%}
66
+ - {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }} by @{{ commit.author.name }}
67
+ {% endif -%}
68
+ {% endfor -%}
69
+ {% endfor %}
70
+ """
50
71
commit_parsers = [
51
72
{ message = " ^feat" , group = " added" },
52
73
{ message = " ^changed" , group = " changed" },
You can’t perform that action at this time.
0 commit comments