| 1 |
[workspace] |
| 2 |
# set the path of all the crates to the changelog to the root of the repository |
| 3 |
changelog_path = "./CHANGELOG.md" |
| 4 |
|
| 5 |
[changelog] |
| 6 |
body = """ |
| 7 |
|
| 8 |
## `{{ package }}` - [{{ version }}]{%- if release_link -%}({{ release_link }}){% endif %} - {{ timestamp | date(format="%Y-%m-%d") }} |
| 9 |
{% for group, commits in commits | group_by(attribute="group") %} |
| 10 |
### {{ group | upper_first }} |
| 11 |
{% for commit in commits %} |
| 12 |
{%- if commit.scope -%} |
| 13 |
- *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}{%- if commit.links %} ({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%}){% endif %} |
| 14 |
{% else -%} |
| 15 |
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }} |
| 16 |
{% endif -%} |
| 17 |
{% endfor -%} |
| 18 |
{% endfor -%} |
| 19 |
""" |