-
Notifications
You must be signed in to change notification settings - Fork 0
/
release.toml
15 lines (13 loc) · 900 Bytes
/
release.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dev-version-ext = "dev"
pre-release-commit-message = "chore(release): Release {{version}}."
post-release-commit-message = "chore(release): Released {{version}}, starting work on {{next_version}}."
pre-release-replacements = [
{file="README.md", search="v[0-9]+\\.[0-9]+\\.[0-9]+(-dev)?", replace="v{{version}}"},
{file="src/main.rs", search="const VERSION: .*", replace="const VERSION: &str = \"{{version}}\";"},
{file="src/main.rs", search="/// The current crate version: .*", replace="/// The current crate version: {{version}}"},
]
post-release-replacements = [
{file="README.md", search="v[0-9]+\\.[0-9]+\\.[0-9]+(-dev)?", replace="v{{version}}"},
{file="src/main.rs", search="const VERSION: .*", replace="const VERSION: &str = \"{{next_version}}\";"},
{file="src/main.rs", search="/// The current crate version: .*", replace="/// The current crate version: {{next_version}}"},
]