forked from obmarg/graphql-ws-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release-plz.toml
38 lines (30 loc) · 987 Bytes
/
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
34
35
36
37
38
[workspace]
changelog_update = false
git_release_enable = false
git_tag_enable = false
# create the release PR in draft to avoid running CI till we're ready
pr_draft = true
[changelog]
commit_parsers = [
{ message = "^feat!", group = "<!-- 0 -->Breaking Changes" },
{ message = "^feat", group = "<!-- 1 -->New Features" },
{ message = "^fix", group = "<!-- 2 -->Bug Fixes" },
{ message = "^chore", group = "<!-- 3 -->Changes" },
]
body = """
## v{{ version }} - {{ 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.breaking %}[**breaking**] {% endif %}{{ commit.message }}
{% endfor -%}
{% endfor -%}
"""
[[package]]
name = "graphql-ws-client"
git_tag_enable = true
git_tag_name = "v{{version}}"
git_release_enable = true
git_release_name = "v{{version}}"
changelog_update = true
changelog_path = "./CHANGELOG.md"