From d57d091fcfa0dc4b945b23d4a9e305ce82b6beaf Mon Sep 17 00:00:00 2001 From: Alice Butcher Date: Mon, 2 Oct 2023 09:16:38 +0100 Subject: [PATCH 1/2] chore: add citation.cff to list of files with version --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 16738eb..0e8c923 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,8 @@ tag_format = "v$version" update_changelog_on_bump = true changelog_incremental = true version_files = [ - "pyproject.toml:version" + "pyproject.toml:version", + "CITATION.cff" ] [tool.black] From ef3f1ff83b2e1cfaa8334d12ab63ba3361c6736d Mon Sep 17 00:00:00 2001 From: Alice Butcher Date: Mon, 2 Oct 2023 10:21:09 +0100 Subject: [PATCH 2/2] chore: add regex for version line in citation file --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0e8c923..f8ba47d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,7 +63,7 @@ update_changelog_on_bump = true changelog_incremental = true version_files = [ "pyproject.toml:version", - "CITATION.cff" + "CITATION.cff:^version" ] [tool.black]