Make sure changelog is added before committing.
This commit is contained in:
parent
4bd35a5b6e
commit
b76f7326d5
|
@ -14,4 +14,4 @@ rand = "0.8"
|
||||||
|
|
||||||
[package.metadata.release]
|
[package.metadata.release]
|
||||||
publish = false
|
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.'"
|
Loading…
Reference in New Issue
Block a user