-
Notifications
You must be signed in to change notification settings - Fork 47
/
release-plz.toml
79 lines (67 loc) · 1.87 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[workspace]
# we release most of the repo as a group so disable things for individual packages
changelog_update = false
git_release_enable = false
git_release_latest = false
git_tag_enable = false
git_release_body = """
{{ changelog }}
{% if remote.contributors %}
### Contributors
Thanks to the people who contributed to this release:
{% for contributor in remote.contributors | unique(attribute="username") %}
* @{{ contributor.username }}
{% endfor %}
{% endif %}
"""
# 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 = "cynic"
git_tag_name = "v{{version}}"
git_tag_enable = true
git_release_enable = true
git_release_latest = true
git_release_name = "v{{version}}"
changelog_update = true
changelog_path = "CHANGELOG.md"
changelog_include = [
"cynic-cli",
"cynic-codegen",
"cynic-introspection",
"cynic-proc-macros",
"cynic-querygen",
"cynic-querygen-web",
]
[[package]]
name = "cynic-parser"
version_group = "cynic-parser"
git_tag_enable = true
git_release_enable = true
changelog_update = true
[[package]]
name = "cynic-parser-deser"
version_group = "cynic-parser"
changelog_update = true
changelog_include = [
"cynic-parser-deser-macros"
]
[[package]]
name = "cynic-parser-deser-macros"
version_group = "cynic-parser"