From 597e00dd86019e0d8d2baafef9f309e33e4e050a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 3 Mar 2021 20:50:04 +0100 Subject: [PATCH] root: update bumpversion config --- .bumpversion.cfg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 917a666c8..8ac66f132 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -2,8 +2,10 @@ current_version = 2021.3.1-rc2 tag = True commit = True -parse = (?P\d+)\.(?P\d+)\.(?P\d+)\-(?P.*) -serialize = {major}.{minor}.{patch}-{release} +parse = (?P\d+)\.(?P\d+)\.(?P\d+)\-?(?P.*) +serialize = + {major}.{minor}.{patch}-{release} + {major}.{minor}.{patch} message = release: {new_version} tag_name = version/{new_version}