From 557d13b962bada8400e090db5d71459c68c851c4 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Tue, 19 Sep 2023 19:55:55 -0600 Subject: [PATCH] Add bumpversion config for changelog --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index b7950125..960b1fa2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,6 +88,11 @@ filename = "pyproject.toml" search = '^version = "{current_version}"$' replace = 'version = "{new_version}"' +[[tool.bumpversion.files]] +filename = "CHANGELOG.md" +search = "^## Unreleased$" +replace = "## [v{new_version}] {now:%Y-%m-%d}" + [[tool.bumpversion.files]] filename = "CITATION.cff" search = 'version: "{current_version}"'