-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
release.toml
14 lines (14 loc) · 1.24 KB
/
release.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pre-release-commit-message = "{{crate_name}} {{version}}"
tag-message = "{{tag_name}}"
tag-name = "{{prefix}}v{{version}}"
pre-release-replacements = [
{ file = "README.md", search = "rusty_engine = \".*\"", replace = "rusty_engine = \"{{version}}\"", exactly = 1 },
{ file = "tutorial/src/02-quick-start.md", search = "rusty_engine = \".*\"", replace = "rusty_engine = \"{{version}}\"", exactly = 1 },
{ file = "tutorial/src/05-config.md", search = "rusty_engine = \".*\"", replace = "rusty_engine = \"{{version}}\"", exactly = 1 },
{ 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/CleanCut/rusty_engine/compare/{{tag_name}}...HEAD", exactly = 1 },
]
# {file="src/lib.rs", search="rusty_engine = \".*\"", replace="rusty_engine = \"{{version}}\"", exactly=1},