[[pre-release-replacements]]
file = "Cargo.toml"
search = "/develop/"
replace = "/{{crate_name}}-v{{version}}/"
prerelease = true

[[post-release-replacements]]
file = "Cargo.toml"
search = '/[A-Za-z0-9-_]+-v(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?/'
replace = "/develop/"
prerelease = true
