blob: 806d35b199f22825c4426bd9ab728c9328f55d78 (
plain)
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
|
[[pre-release-replacements]]
file = "src/lib.rs"
search = "\\[doc\\(html_root_url = .*\\)\\]"
replace = "[doc(html_root_url = \"https://docs.rs/{{crate_name}}/{{version}}\")]"
exactly = 1
[[pre-release-replacements]]
file = "../README.md"
search = "serde_dhall = \".*\""
replace = "{{crate_name}} = \"{{version}}\""
exactly = 1
[[pre-release-replacements]]
file = "../CHANGELOG.md"
search = "#### \\[Unreleased\\]"
replace = "#### [Unreleased]\n\n#### [{{version}}] - {{date}}"
exactly = 1
[[pre-release-replacements]]
file = "../CHANGELOG.md"
search = "\\[Unreleased\\]:"
replace = "[{{version}}]:"
exactly = 1
[[pre-release-replacements]]
file = "../CHANGELOG.md"
search = "\\.\\.\\.HEAD"
replace = "...{{tag_name}}"
exactly = 1
[[pre-release-replacements]]
file = "../CHANGELOG.md"
search = "<!-- next-url -->"
replace = "<!-- next-url -->\n[Unreleased]: https://github.com/Nadrieril/dhall-rust/compare/{{tag_name}}...HEAD"
exactly = 1
|