-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease-plz.toml
More file actions
35 lines (33 loc) · 1.01 KB
/
release-plz.toml
File metadata and controls
35 lines (33 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[workspace]
changelog_update = true
git_release_enable = true
git_tag_enable = true
[changelog]
body = """
{% if version %}\
## [{{ version }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [Unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {{ commit.message | upper_first }}\
{% if commit.breaking %} (**BREAKING**){% endif %}\
{% endfor %}
{% endfor %}
"""
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^perf", group = "Performance" },
{ body = ".*BREAKING.*", group = "Breaking Changes" },
# Everything else is excluded from the changelog
{ message = "^refactor", skip = true },
{ message = "^docs", skip = true },
{ message = "^test", skip = true },
{ message = "^ci", skip = true },
{ message = "^chore", skip = true },
{ message = "^style", skip = true },
{ message = "^build", skip = true },
]