Skip to content

Commit

Permalink
Add bump2version file configuration upgrades so we do not need to man…
Browse files Browse the repository at this point in the history
…ually upgrade during the release process (#585)
  • Loading branch information
jpdakran authored Jul 26, 2022
1 parent 5348c62 commit 8a65417
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ description_file = README.md
[bumpversion:file:detect_secrets/__version__.py]
search = VERSION = '{current_version}'
replace = VERSION = '{new_version}'

[bumpversion:file:.secrets.baseline]
search = "version": "{current_version}"
replace = "version": "{new_version}"

[bumpversion:file:README.md]
search = rev: v{current_version}
replace = rev: v{new_version}

0 comments on commit 8a65417

Please sign in to comment.