From a54dacf5dd51caef2341145af14143c627ae9a68 Mon Sep 17 00:00:00 2001
From: Tim Kreuzer <t.kreuzer@fz-juelich.de>
Date: Mon, 22 Apr 2024 22:14:44 +0200
Subject: [PATCH] update version regex

---
 pyproject.toml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 3dd659d..45702ab 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -57,9 +57,9 @@ regex = '''
   (?P<minor>\d+)
   \.
   (?P<patch>\d+)
-  (?P<pre>((a|b|rc)\d+)|)
-  \.?
-  (?P<dev>(?<=\.)dev\d*|)
+  (\-
+    (?P<extra>.+)
+  )?
 '''
 
 [tool.tbump.git]
-- 
GitLab