From bb195b1c77f263d4f57df060f49b092f9c595f82 Mon Sep 17 00:00:00 2001 From: Kamil Date: Tue, 11 Feb 2025 09:24:31 +0000 Subject: [PATCH] fix: update version regex in bumpversion configuration --- .bumpversion.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index cea658a..bb1cc2c 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -4,9 +4,9 @@ commit = True tag = True [bumpversion:file:app/version.py] -search = __version__ = "{current_version}" +search = __version__ = "(?Pv\d+\.\d+\.\d+)" replace = __version__ = "{new_version}" [bumpversion:file:version.py] -search = __version__ = "{current_version}" -replace = __version__ = "{new_version}" +search = __version__ = "(?Pv\d+\.\d+\.\d+)" +replace = __version__ = "{new_version}" \ No newline at end of file