Skip to content

Commit 7bd09e2

Browse files
authored
Merge pull request #469 from Amanieu/release-plz-changelog
2 parents 398560e + 965216f commit 7bd09e2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

release-plz.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
"""

0 commit comments

Comments
 (0)