mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-16 17:18:30 +01:00
e5731abde0
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.
25 lines
695 B
TOML
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
|