-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrelease.toml
14 lines (12 loc) · 995 Bytes
/
release.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pre-release-replacements = [
{file="README.md", search="wow_srp = \"[a-z0-9\\+.-]+\"", replace="wow_srp = \"{{version}}\"", exactly=1},
{file="README.md", search="version = \"[a-z0-9\\+.-]+\"", replace="version = \"{{version}}\"", exactly=1},
{file="src/lib.rs", search="wow_srp = \\{ version = \"[a-z0-9\\+.-]+\"", replace="wow_srp = { version = \"{{version}}\"", exactly=2},
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/gtker/wow_srp/compare/{{tag_name}}...HEAD", exactly=1},
]
pre-release-hook = ["./tests/pre-release.sh"]
allow-branch = ["main"]