-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease.toml
More file actions
20 lines (14 loc) · 755 Bytes
/
release.toml
File metadata and controls
20 lines (14 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
shared-version = true
consolidate-commits = true
allow-branch = ["master"]
tag-name = "v{{version}}"
# Matches cliff.toml skip pattern: ^chore\(release\)
pre-release-commit-message = "chore(release): release v{{version}}"
# Generate a single root-level CHANGELOG.md via git-cliff before the release commit.
# The hook runs per-crate from each crate's directory, so we use --workdir to always
# target the workspace root.
pre-release-hook = ["bash", "-c", "ROOT=$(git rev-parse --show-toplevel) && git-cliff --workdir \"$ROOT\" --tag \"v$1\" --output \"$ROOT/CHANGELOG.md\"", "_", "{{version}}"]
# Delay between crate publishes to avoid crates.io rate limiting (25+ crates)
rate-limit = { existing-work-ms = 5000 }
push = true
push-remote = "origin"