-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease.toml
More file actions
35 lines (27 loc) · 900 Bytes
/
release.toml
File metadata and controls
35 lines (27 loc) · 900 Bytes
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
# cargo-release configuration
# https://github.com/crate-ci/cargo-release
[workspace]
# Allow releasing from main branch
allow-branch = ["main"]
# Run consolidation for workspaces
consolidate-commits = true
# Pre-release replacements
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "## \\[Unreleased\\]"
replace = "## [Unreleased]\n\n## [{{version}}] - {{date}}"
# Commit message template
pre-release-commit-message = "chore(release): prepare v{{version}}"
# Tag configuration
tag-message = "v{{version}}"
tag-name = "v{{version}}"
# Push to remote after release
push = true
push-remote = "origin"
# Sign commits and tags (disabled by default, enable if GPG is configured)
sign-commit = false
sign-tag = false
# Publish to crates.io
publish = true
# Generate changelog using git-cliff before release
pre-release-hook = ["git-cliff", "-o", "CHANGELOG.md", "--tag", "v{{version}}"]