From f76f443669fec0c8b4ed12d8d4c6c0933c7950ae Mon Sep 17 00:00:00 2001 From: "Reza (Shahin) Khanipour" Date: Wed, 2 Oct 2024 15:08:46 +0200 Subject: [PATCH 1/2] fix: package version in the package. Commitizen wasn't updating the pyproject.toml version. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 7ae3021..5ae91f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ update_changelog_on_bump = true version_provider = "scm" tag_format = "v$major.$minor.$patch$prerelease" version_files = [ + "pyproject.toml:version", "src/sparkle/__init__.py" ] From 5f4d7cddbfd3e6e2a493678f1dddfc9c71b7b364 Mon Sep 17 00:00:00 2001 From: "Reza (Shahin) Khanipour" Date: Wed, 2 Oct 2024 15:18:55 +0200 Subject: [PATCH 2/2] chore: simplify the version tag_format for commitizen. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5ae91f7..92e68a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ types-confluent-kafka = "^1.2.2" version = "1.0.0" update_changelog_on_bump = true version_provider = "scm" -tag_format = "v$major.$minor.$patch$prerelease" +tag_format = "v$version" version_files = [ "pyproject.toml:version", "src/sparkle/__init__.py"