-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease.toml
13 lines (13 loc) · 949 Bytes
/
release.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
allow-branch = ["main"]
# consolidate-commits = false
pre-release-replacements = [
# {file="README.md", search="quote-of-the-week = .*", replace="{{crate_name}} = \"{{version}}\""},
# {file="src/lib.rs", search="quote-of-the-week = .*", replace="{{crate_name}} = \"{{version}}\""},
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="<!-- release-date -->", replace="- {{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] <!-- release-date -->", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/LeoniePhiline/quote-of-the-week/compare/{{tag_name}}...HEAD", exactly=1},
]
pre-release-commit-message = "release: {{version}}"
pre-release-hook = ["cargo", "nextest", "run"]