-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease-plz.toml
More file actions
57 lines (51 loc) · 2.01 KB
/
Copy pathrelease-plz.toml
File metadata and controls
57 lines (51 loc) · 2.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[workspace]
git_release_enable = false
git_tag_enable = false
git_release_name = "v{{ version }}"
changelog_update = true
changelog_path = "./CHANGELOG.md"
pr_labels = ["release"]
dependencies_update = false
release_commits = "^(feat|fix|perf|refactor)"
[changelog]
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}]\
{%- if previous %}{%- if previous.version %}(https://github.com/tarotene/telepath/compare/v{{ previous.version | trim_start_matches(pat="v") }}..v{{ version | trim_start_matches(pat="v") }}){%- endif %}{%- endif %} — {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [Unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits | filter(attribute="merge_commit", value=false) %}
- {% if commit.breaking %}**[BREAKING]** {% endif %}\
{% if commit.scope %}**{{ commit.scope }}**: {% endif %}\
{{ commit.message | upper_first }}\
{% if commit.remote.pr_number %} \
([#{{ commit.remote.pr_number }}](https://github.com/tarotene/telepath/pull/{{ commit.remote.pr_number }}))\
{% endif %}
{% endfor %}
{% endfor %}
"""
# Single-tag pattern: telepath-wire is the canonical tag owner.
# One vX.Y.Z tag and one GitHub Release cover all five workspace members (unified versioning).
# git_release_draft = true: release-plz creates the GitHub Release as a draft so that
# release-binaries (called from release-plz.yml) can attach prebuilt binaries before the
# release is published. The release-binaries workflow calls `gh release edit --draft=false`
# after all four builds succeed, publishing the release with assets already attached and
# allowing the immutable lock to apply to a complete release.
[[package]]
name = "telepath-wire"
git_release_enable = true
git_tag_enable = true
git_tag_name = "v{{ version }}"
git_release_draft = true
[[package]]
name = "host-pty-server"
publish = false
[[package]]
name = "telepath-macros"
[[package]]
name = "telepath-server"
[[package]]
name = "telepath-client"