From 98c3192ccb8c88a5fea6384322f5868b7934462e Mon Sep 17 00:00:00 2001 From: Belousov Maksim Date: Thu, 11 Jul 2024 13:06:47 +0400 Subject: [PATCH] fix(cargo-release): fix cargo-release configuration --- release.toml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/release.toml b/release.toml index ccdf2cc..3017332 100644 --- a/release.toml +++ b/release.toml @@ -1,13 +1,12 @@ sign-commit = true sign-tag = true pre-release-commit-message = "Release {{crate_name}} {{version}} 🎉🎉" -post-release-commit-message = "Start next {{crate_name}} development iteration {{version}}" tag-message = "Release {{crate_name}} {{prefix}}{{version}}" tag-prefix = "" tag-name = "{{prefix}}{{version}}" pre-release-replacements = [ - {file="README.md", search="actix-web-validator = \"[a-z0-9\\.-]+\"", replace="actix-web-validator = \"{{version}}\""} , - {file="CHANGELOG.md", search="\\[Unreleased\\]", replace="[{{version}}] {{date}}"}, - {file="CHANGELOG.md", search="\\(https://semver.org/spec/v2.0.0.html\\).", replace="(https://semver.org/spec/v2.0.0.html).\n\n## [Unreleased]"} + { file = "README.md", search = "actix-web-validator = \"[a-z0-9\\.-]+\"", replace = "actix-web-validator = \"{{version}}\"" }, + { file = "CHANGELOG.md", search = "\\[Unreleased\\]", replace = "[{{version}}] {{date}}" }, + { file = "CHANGELOG.md", search = "\\(https://semver.org/spec/v2.0.0.html\\).", replace = "(https://semver.org/spec/v2.0.0.html).\n\n## [Unreleased]" }, ]