-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrelease.toml
More file actions
39 lines (29 loc) · 939 Bytes
/
release.toml
File metadata and controls
39 lines (29 loc) · 939 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
36
37
38
39
# Cargo-release configuration
# Automates versioning, tagging, and publishing
# Reference: https://rust-lang.github.io/cargo-release/
# Pre-release commit message
pre-release-commit-message = "Release {{version}}"
# Tag configuration
tag-name = "v{{version}}"
tag-message = "Release {{version}}"
# Publish configuration
publish = true
# Push configuration
push = true
push-remote = "origin"
# Consolidate commits before release
consolidate-commits = false
# Skip verification checks (set to true to skip tests/formatting)
verify = true
# Pre-release replacements for updating version references in other files
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "(?m)^## \\[Unreleased\\]\\n\\n"
replace = """## [Unreleased]
## [{{version}}] - {{date}}
"""
# Example: Update version in README
# [[pre-release-replacements]]
# file = "README.md"
# search = "sofos v[0-9.]+(-[a-zA-Z0-9]+)?"
# replace = "sofos v{{version}}"