-
Notifications
You must be signed in to change notification settings - Fork 1
/
release.toml
46 lines (40 loc) · 1006 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
40
41
42
43
44
45
46
allow-branch = ["main"]
shared-version = true
# Single commit for all crates since we are in one repo
consolidate-commits = true
tag-name = "v{{version}}"
verify = false
[[pre-release-replacements]]
file = "Makefile"
search = 'VERSION=\d\.\d.\d.*'
replace = "VERSION={{version}}"
exactly = 1
[[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\n\n\
"""
exactly = 1
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "<!-- next-url -->"
replace = """\
<!-- next-url -->\n\
[Unreleased]: https://github.com/pluots/msgpack-cli/compare/{{tag_name}}...HEAD\
"""
exactly = 1