-
Notifications
You must be signed in to change notification settings - Fork 4
/
release-plz.toml
29 lines (27 loc) · 1.12 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
[workspace]
allow_dirty = true # allow updating repositories with uncommitted changes
publish_allow_dirty = true # add `--allow-dirty` to `cargo publish`
publish_timeout = "10m" # set a timeout for `cargo publish`
[changelog]
commit_preprocessors = [
# Allow shortened crate names
{ pattern = '^(\w+!?)\(sdk\):', replace = "$1(gadget-sdk):" },
{ pattern = '^(\w+!?)\(cli\):', replace = "$1(cargo-tangle):" },
]
commit_parsers = [
{ message = "^feat", group = "added" },
{ message = "^changed", group = "changed" },
{ message = "^deprecated", group = "deprecated" },
{ message = "^fix", group = "fixed" },
{ message = "^security", group = "security" },
{ message = "^.*", group = "other" },
# Ignore CI commits
{ message = "^\\w+!?\\(ci\\)", skip = true },
# Ignore Clippy commits
{ message = "^chore\\(clippy\\)", skip = true },
{ message = "^chore(?:\\(([^)]+)\\))?: clippy", skip = true },
# Ignore any formatting commits
{ message = "^chore(?:\\(([^)]+)\\))?: fmt", skip = true },
# Ignore dependency commits
{ message = "^chore\\(deps.*\\)", skip = true },
]