From 9df929a8e360db4b514a25c2833e16c5674316e1 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Wed, 6 Nov 2024 17:07:43 -0700 Subject: [PATCH] fix: Updated the Commitizen config to also always commit the Cargo.lock when doing the version bump --- .cz.toml | 3 +++ Cargo.lock | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.cz.toml b/.cz.toml index db8c69b..5141f4b 100644 --- a/.cz.toml +++ b/.cz.toml @@ -5,3 +5,6 @@ version_scheme = "semver" version_provider = "cargo" update_changelog_on_bump = true major_version_zero = true + +[tool.commitizen.hooks] +pre-commit = "git add Cargo.toml Cargo.lock" diff --git a/Cargo.lock b/Cargo.lock index eb22c5e..ecb8110 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1148,7 +1148,7 @@ dependencies = [ [[package]] name = "managarr" -version = "0.2.1" +version = "0.2.2" dependencies = [ "anyhow", "assert_cmd",