From 3d627c0a462e898b4502c515e59b38efc14ee499 Mon Sep 17 00:00:00 2001
From: Pierre Smeyers <pierre.smeyers@gmail.com>
Date: Fri, 4 Oct 2024 09:26:39 +0200
Subject: [PATCH] fix(release): support full semantic-versioning specifcation
 (with prerelease and build metadata)

---
 templates/gitlab-ci-maven.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/gitlab-ci-maven.yml b/templates/gitlab-ci-maven.yml
index eaff7b9..fd1f996 100644
--- a/templates/gitlab-ci-maven.yml
+++ b/templates/gitlab-ci-maven.yml
@@ -186,7 +186,7 @@ variables:
   # default integration ref name (pattern)
   INTEG_REF: '/^develop$/'
   # default release tag name (pattern)
-  RELEASE_REF: '/^v?[0-9]+\.[0-9]+\.[0-9]+$/'
+  RELEASE_REF: '/^v?[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9-\.]+)?(\+[a-zA-Z0-9-\.]+)?$/'
   # default configuration directory
   MAVEN_CFG_DIR: $[[ inputs.cfg-dir ]]
   # default settings.xml file path
-- 
GitLab