watchexec/cli/release.toml
2022-02-10 01:40:32 +13:00

47 lines
1.1 KiB
TOML

pre-release-hook = ["../bin/pre-release-pull"]
pre-release-commit-message = "cli: v{{version}}"
tag-prefix = "cli-"
tag-message = "watchexec {{version}}"
# We wait until the release CI is done before publishing,
# because publishing is irreversible, but a release can be
# reverted a lot more easily.
publish = false
[[pre-release-replacements]]
file = "../CITATION.cff"
search = "^version: \"?[\\d.]+(-.+)?\"?"
replace = "version: \"{{version}}\""
prerelease = true
max = 1
[[pre-release-replacements]]
file = "../CITATION.cff"
search = "^date-released: .+(-.+)?"
replace = "date-released: {{date}}"
prerelease = true
max = 1
[[pre-release-replacements]]
file = "watchexec.exe.manifest"
search = "^ version=\"[\\d.]+[.]0\""
replace = " version=\"{{version}}.0\""
prerelease = false
max = 1
[[pre-release-replacements]]
file = "tests/snapshots/help__help_windows.snap"
search = "watchexec.exe [\\d.]+(-.+)?"
replace = "watchexec.exe {{version}}"
prerelease = true
min = 0
max = 1
[[pre-release-replacements]]
file = "tests/snapshots/help__help_unix.snap"
search = "watchexec [\\d.]+(-.+)?"
replace = "watchexec {{version}}"
prerelease = true
min = 0
max = 1