diff --git a/Cargo.toml b/Cargo.toml index 710b593..ffc19dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,8 +25,8 @@ opt-level = 'z' # Optimize for size. [package.metadata.release] pre-release-replacements = [ - {file="README.md", search="phetch-v\\d\\.\\d\\.\\d-", replace="{{crate_name}}-v{{version}}-"}, - {file="README.md", search="/v\\d\\.\\d\\.\\d/", replace="/v{{version}}/"}, + {file="README.md", search="phetch-v\\d+\\.\\d+\\.\\d+-", replace="{{crate_name}}-v{{version}}-"}, + {file="README.md", search="/v\\d+\\.\\d+\\.\\d+/", replace="/v{{version}}/"}, ] dev-version-ext = "dev"