-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathrelease-plz.toml
More file actions
53 lines (45 loc) · 1.58 KB
/
Copy pathrelease-plz.toml
File metadata and controls
53 lines (45 loc) · 1.58 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
# Automatic changelog generation and releases for Rust crates.
[workspace]
# Only explicitly listed packages are released. In particular, the internal
# verifier binary is not published.
release = false
# Keep release PRs in draft until a maintainer approves the release.
pr_draft = true
pr_labels = ["A-rust"]
pr_name = "chore(release): prepare {{ package }}-rs v{{ version }}"
# Include the crate name and language to avoid collisions with Python and schema tags.
git_tag_name = "{{ package }}-rs-v{{ version }}"
git_release_name = "{{ package }}: v{{ version }}"
git_release_latest = false
# Only publish commits that came from a release-plz release PR.
release_always = false
git_release_body = """
{{ changelog }}
{% if remote.contributors %}
### Contributors
{% for contributor in remote.contributors %}
* @{{ contributor.username }}
{% endfor %}
{% endif %}
"""
[changelog]
header = """# Changelog
"""
sort_commits = "oldest"
commit_parsers = [
{ message = "^feat", group = "New Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^docs", group = "Documentation" },
{ message = "^style", group = "Styling" },
{ message = "^refactor", group = "Refactor" },
{ message = "^perf", group = "Performance" },
{ message = "^test", group = "Testing", skip = true },
{ message = "^chore", group = "Miscellaneous Tasks", skip = true },
{ message = "^revert", group = "Reverted changes", skip = true },
{ message = "^ci", group = "CI", skip = true },
]
protect_breaking_commits = true
[[package]]
name = "jeff-format"
release = true
git_release_latest = false