From b76f7326d577597000ec569248a66592bc4aba36 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 18 Mar 2022 14:33:55 -0500 Subject: [PATCH] Make sure changelog is added before committing. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b3a928e..7ff220b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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.'" \ No newline at end of file +pre-release-hook = "git cliff --tag {{tag_name}} --output CHANGELOG.md && git add CHANGELOG.md && git commit CHANGELOG.md -m 'Update changelog for release.'" \ No newline at end of file