From 99734203cd8c7e80d0a052b072fa48ddf6a6e1fb Mon Sep 17 00:00:00 2001 From: Alice Butcher Date: Mon, 2 Oct 2023 09:14:11 +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 b8e04f0..881e3ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,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 f310fe89750242add3842a496be2b5c33f98cd46 Mon Sep 17 00:00:00 2001 From: Alice Butcher Date: Mon, 2 Oct 2023 10:21:02 +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 881e3ca..7b11181 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ update_changelog_on_bump = true changelog_incremental = true version_files = [ "pyproject.toml:version", - "CITATION.cff" + "CITATION.cff:^version" ] [tool.black]