-
Notifications
You must be signed in to change notification settings - Fork 2
/
release-plz.toml
33 lines (30 loc) · 1.16 KB
/
release-plz.toml
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
[changelog]
body = """
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
{%- if commit.scope -%}
- *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}{%- if commit.links %} ({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%}){% endif %}
{% else -%}
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}
{% endif -%}
{% endfor -%}
{% endfor %}
"""
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->Added" },
{ message = "^changed", group = "<!-- 1 -->Changed" },
{ message = "^deprecated", group = "<!-- 2 -->Deprecated" },
{ message = "^fix", group = "<!-- 3 -->Fixed" },
{ message = "^sec", group = "<!-- 4 -->Security" },
{ message = "^docs", group = "<!-- 5 -->Documentation" },
{ message = "^test", group = "<!-- 6 -->Tests" },
]
[workspace]
git_tag_enable = false
git_release_enable = false
[[package]]
name = "cw-storey"
git_tag_enable = true
git_release_enable = true