Repository navigation
Expand file tree
/
Copy pathrelease-plz.toml
More file actions
53 lines (46 loc) · 2.05 KB
/
Copy pathrelease-plz.toml
File metadata and controls
53 lines (46 loc) · 2.05 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[changelog]
body = """
## [{{ version | trim_start_matches(pat="v") }}]{%- if release_link -%}({{ release_link }}){% endif %}
_{{ timestamp | date(format="%d %B %Y") }}_
{% for group, commits in commits | group_by(attribute="group") -%}
{%- if group != "chore" %}
### {{ group | upper_first }}
{% for commit in commits -%}
{%- if commit.scope and commit.scope != package -%}
* *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}{%- if commit.links %} ({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%}){% endif %}
{% else -%}
* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}
{% endif -%}
{%- endfor %}
{%- endif %}
{%- endfor -%}
"""
commit_parsers = [
# Changes to experimental features (scope `experimental`, see
# docs/experimental-features.md) are grouped into their own changelog
# section regardless of type, so consumers who opt into an `unstable_`
# feature have a human-readable signal even though these changes don't
# drive a minor/breaking version bump. This must stay first so it wins
# over the type-based parsers below.
{ message = '^\w+\(experimental\)', group = "experimental" },
{ message = "^feat", group = "added" },
{ message = "^changed", group = "changed" },
{ message = "^deprecated", group = "deprecated" },
{ message = "^fix", group = "fixed" },
{ message = "^security", group = "security" },
{ message = "^chore", group = "chore" },
{ message = "^update", group = "updated dependencies" },
{ message = "^doc", group = "documented" },
{ message = "^.*", group = "other" },
]
[workspace]
dependencies_update = true
features_always_increment_minor = false
pr_labels = ["release"]
release_always = false
# Only these commit types trigger a release PR. This keeps chore-only commits
# (including chore cherry-picks brought over by the backport bot) from
# generating spurious release PRs on a release-line branch.
release_commits = "^(feat|fix|docs|perf|refactor|revert|test|update)[!]?[(:]"
[[package]]
name = "c2patool"