From 8a6541719d9076ea24d7c552c7ee71fb69c429f3 Mon Sep 17 00:00:00 2001 From: John-Paul Dakran Date: Tue, 26 Jul 2022 09:53:59 -0400 Subject: [PATCH] Add bump2version file configuration upgrades so we do not need to manually upgrade during the release process (#585) --- setup.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup.cfg b/setup.cfg index 631aa79ae..ae6c9d5ad 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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}