Commit 807dfeaf authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix(release): fix RELEASE_REF regex

RELEASE_REF contains an ambiguous litteral '-'
Depending on the context, that can cause matching issues
parent abf2fdc5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ variables:
  # default integration ref name (pattern)
  INTEG_REF: /^develop$/
  # default release tag name (pattern)
  RELEASE_REF: /^v?[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9-\.]+)?(\+[a-zA-Z0-9-\.]+)?$/
  RELEASE_REF: /^v?[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9\-\.]+)?(\+[a-zA-Z0-9\-\.]+)?$/

stages:
  - build