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

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

diff --git a/templates/gitlab-ci-node.yml b/templates/gitlab-ci-node.yml
index a76f58a..e299018 100644
--- a/templates/gitlab-ci-node.yml
+++ b/templates/gitlab-ci-node.yml
@@ -213,7 +213,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-\.]+)?$/
 
 # ==================================================
 # Stages definition
-- 
GitLab