Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Nov 5, 2023
1 parent cd73414 commit 6fd1e79
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -201,16 +201,19 @@ search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'

[[tool.bumpversion.files]]
# Update the version in changelog written in Markdown with sphinx.ext.extlinks's {gh} shortcut.
filename = "./changelog.md"
search = "{{gh}}`{current_version} (unreleased)"
replace = "{{gh}}`{new_version} (unreleased)"
search = "## {{gh}}`{current_version} (unreleased) "
replace = "## {{gh}}`{new_version} (unreleased) "

[[tool.bumpversion.files]]
# Update the version in the citation file.
filename = "./citation.cff"
search = "version: {current_version}"
replace = "version: {new_version}"

[[tool.bumpversion.files]]
# Update the release date in the citation file.
filename = "./citation.cff"
regex = true
search = "date-released: \\d{{4}}-\\d{{2}}-\\d{{2}}"
Expand Down

0 comments on commit 6fd1e79

Please sign in to comment.