summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tbump.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbump.toml b/tbump.toml
index 92590505c..d096a505a 100644
--- a/tbump.toml
+++ b/tbump.toml
@@ -8,7 +8,7 @@ regex = '''
(?P<minor>0|[1-9]\d*)
\.
(?P<patch>0|[1-9]\d*)
-(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
+(?:-?(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
'''
[git]