From 9a4dc0ae71c6509ca3e7eb370f3dfbe8d813a38f Mon Sep 17 00:00:00 2001 From: Henrik Finsberg Date: Tue, 16 Dec 2025 11:12:23 +0100 Subject: [PATCH] Make sure bump-my-version also bumps the version in the CITATION.cff file --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 56fc0de..b2cd447 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -145,3 +145,9 @@ current_version = "0.15.2" filename = "pyproject.toml" search = 'version = "{current_version}"' replace = 'version = "{new_version}"' + + +[[tool.bumpversion.files]] +filename = "CITATION.cff" +search = 'version: v{current_version}' +replace = 'version: v{new_version}'