diff --git a/release.toml b/release.toml index bdce745..43a315a 100644 --- a/release.toml +++ b/release.toml @@ -1,7 +1,4 @@ allow-branch = ["main"] -pre-release-replacements = [ - { file = "README.md", search = "rlt = .*", replace = "{{crate_name}} = \"{{version}}\"" }, -] -pre-release-hook = ["git", "cliff", "-o", "CHANGELOG.md", "--tag", "{{version}}" ] +pre-release-hook = ["sh", "-c", "git cliff -o CHANGELOG.md --tag {{version}} && git add CHANGELOG.md"] pre-release-commit-message = "chore: release {{crate_name}} version {{version}}" tag-message = "chore: release {{crate_name}} version {{version}}"