Skip to content

Commit

Permalink
Add bumpversion config for changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Sep 20, 2023
1 parent b2c614a commit 557d13b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"'
Expand Down

0 comments on commit 557d13b

Please sign in to comment.