watchexec/lib/release.toml
Félix Saparelli e5731abde0 Use exact version reqs for prereleases
I did not realise that Cargo considers -pre.1 and -pre.2 to be
compatible, so the latest Notify prerelease broke all existing
releases, and whenever I release a new lib it may break all CLI
versions if the API changes.
2022-03-16 16:02:29 +13:00

25 lines
695 B
TOML

pre-release-hook = ["../bin/pre-release-pull"]
pre-release-commit-message = "lib: v{{version}}"
tag-prefix = "lib-"
tag-message = "watchexec-lib {{version}}"
[[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 = "../cli/Cargo.toml"
search = "^watchexec = \\{ version = \"=[\\d.]+(-.+)?\", path = \"../lib\" \\}"
replace = "watchexec = { version = \"={{version}}\", path = \"../lib\" }"
prerelease = true
min = 0