You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# A Tera template to be rendered as the changelog's footer.
6
+
# See https://keats.github.io/tera/docs/#introduction
7
+
# header = """
8
+
# # Changelog\n
9
+
# All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.\n
10
+
# """
11
+
# A Tera template to be rendered for each release in the changelog.
12
+
# See https://keats.github.io/tera/docs/#introduction
13
+
body = """
14
+
{% for group, commits in commits | group_by(attribute="group") %}
15
+
### {{ group | striptags | trim | upper_first }}
16
+
{% for commit in commits
17
+
| filter(attribute="scope")
18
+
| sort(attribute="scope") %}
19
+
- **({{commit.scope}})**{% if commit.breaking %} [**breaking**]{% endif %} \
20
+
{{ commit.message }} by [@{{ commit.author.name }}](https://github.com/{{ commit.author.name }}) in [{{ commit.id | truncate(length=7, end="") }}]($REPO/commit/{{ commit.id }})
21
+
{%- endfor -%}
22
+
{% raw %}\n{% endraw %}\
23
+
{%- for commit in commits %}
24
+
{%- if commit.scope -%}
25
+
{% else -%}
26
+
- {% if commit.breaking %} [**breaking**]{% endif %}\
27
+
{{ commit.message }} by [@{{ commit.author.name }}](https://github.com/{{ commit.author.name }}) in [{{ commit.id | truncate(length=7, end="") }}]($REPO/commit/{{ commit.id }})
0 commit comments