-
Notifications
You must be signed in to change notification settings - Fork 9
/
release.toml
47 lines (44 loc) · 1.29 KB
/
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
47
sign-commit = true
tag-name = "{{version}}"
# Replace `docker pull pitkley/dfw:X.Y.Z`
[[pre-release-replacements]]
file = "docs/GETTING-STARTED-nftables.md"
search = "pitkley/dfw:([0-9]+\\.?)+"
replace = "pitkley/dfw:{{version}}"
prerelease = false
[[pre-release-replacements]]
file = "docs/GETTING-STARTED-iptables.md"
search = "pitkley/dfw:([0-9]+\\.?)+"
replace = "pitkley/dfw:{{version}}"
prerelease = false
[[pre-release-replacements]]
file = "examples/reverseproxy/README.md"
search = "pitkley/dfw:([0-9]+\\.?)+"
replace = "pitkley/dfw:{{version}}"
prerelease = false
# Replace `dfw X.Y.Z`
[[pre-release-replacements]]
file = "docs/GETTING-STARTED-nftables.md"
search = "dfw ([0-9]+\\.?)+"
replace = "dfw {{version}}"
prerelease = false
[[pre-release-replacements]]
file = "docs/GETTING-STARTED-iptables.md"
search = "dfw ([0-9]+\\.?)+"
replace = "dfw {{version}}"
prerelease = false
# Handle new section in CHANGELOG.md
# 1. Replace the fields in the unreleased header.
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "## Unreleased"
replace = "## {{version}} ({{date}})"
exactly = 1
prerelease = false
# 2. Add a new unreleased header.
[[pre-release-replacements]]
file = "CHANGELOG.md"
search = "<!-- next-header -->"
replace = "<!-- next-header -->\n\n## Unreleased"
exactly = 1
prerelease = false