2
0
mirror of https://github.com/xvxx/phd synced 2024-11-04 18:00:22 +00:00

fix version regex

This commit is contained in:
dvkt 2020-01-06 02:14:21 -08:00
parent 9ee7416403
commit 43e596d01b

View File

@ -25,8 +25,8 @@ gophermap = "0.1.2"
[package.metadata.release]
pre-release-replacements = [
{file="README.md", search="phd-v\\d\\.\\d\\.\\d-", replace="{{crate_name}}-v{{version}}-"},
{file="README.md", search="/v\\d\\.\\d\\.\\d/", replace="/v{{version}}/"},
{file="README.md", search="phd-v\\d+\\.\\d+\\.\\d+-", replace="{{crate_name}}-v{{version}}-"},
{file="README.md", search="/v\\d+\\.\\d+\\.\\d+/", replace="/v{{version}}/"},
]
dev-version-ext = "dev"