Make sure changelog is added before committing.

This commit is contained in:
Nolan Darilek 2022-03-18 14:33:55 -05:00
parent 4bd35a5b6e
commit b76f7326d5
1 changed files with 1 additions and 1 deletions

View File

@ -14,4 +14,4 @@ rand = "0.8"
[package.metadata.release]
publish = false
pre-release-hook = "git cliff --tag {{tag_name}} --output CHANGELOG.md && git commit CHANGELOG.md -m 'Update changelog for release.'"
pre-release-hook = "git cliff --tag {{tag_name}} --output CHANGELOG.md && git add CHANGELOG.md && git commit CHANGELOG.md -m 'Update changelog for release.'"