Skip to content

Commit af21076

Browse files
authored
Merge pull request #176 from scientificcomputing/finsberg/bumpversion-citation
Make sure `bump-my-version` also bumps the version in the `CITATION.cff` file
2 parents 2b3d985 + 9a4dc0a commit af21076

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,9 @@ current_version = "0.15.2"
145145
filename = "pyproject.toml"
146146
search = 'version = "{current_version}"'
147147
replace = 'version = "{new_version}"'
148+
149+
150+
[[tool.bumpversion.files]]
151+
filename = "CITATION.cff"
152+
search = 'version: v{current_version}'
153+
replace = 'version: v{new_version}'

0 commit comments

Comments
 (0)