forked from egraphs-good/egg
-
Notifications
You must be signed in to change notification settings - Fork 3
/
release.toml
39 lines (32 loc) · 944 Bytes
/
release.toml
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
36
37
38
39
dev-version-ext = "dev"
[[pre-release-replacements]]
file = "README.md"
search = "egg = .*"
replace="{{crate_name}} = \"{{version}}\""
[[pre-release-replacements]]
file = "src/tutorials/_02_getting_started.rs"
search = "egg = .*"
replace="{{crate_name}} = \"{{version}}\""
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "Unreleased"
replace = "{{version}}"
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "\\.\\.\\.HEAD"
replace = "...{{tag_name}}"
exactly=1
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "ReleaseDate"
replace = "{{date}}"
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "<!-- next-header -->"
replace = "<!-- next-header -->\n\n## [Unreleased] - ReleaseDate"
exactly = 1
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "<!-- next-url -->"
replace = "<!-- next-url -->\n[Unreleased]: https://github.com/mwillsey/egg/compare/{{tag_name}}...HEAD"
exactly = 1