From 7c40e02a2713cfafe1fb2f13fa2a60870723eb09 Mon Sep 17 00:00:00 2001 From: Seyyed Morteza Moosavi Date: Mon, 6 Nov 2023 15:23:19 +0330 Subject: [PATCH] fix release script --- release.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.toml b/release.toml index 28c2ae0..f59d8ad 100644 --- a/release.toml +++ b/release.toml @@ -4,7 +4,7 @@ tag-message = "v{{version}}" tag-name = "v{{version}}" pre-release-replacements = [ {file="CHANGELOG.md", search="Unreleased", replace="{{version}}"}, - {file="CHANGELOG.md", search="\\.\\.\\.main", replace="...{{tag_name}}", exactly=1}, + {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"}, {file="CHANGELOG.md", search="", replace="\n\n## [Unreleased] - ReleaseDate", exactly=1}, {file="CHANGELOG.md", search="", replace="\n[Unreleased]: https://github.com/smmoosavi/dynamic-graphql/compare/{{tag_name}}...HEAD", exactly=1},