Commit 721bba93 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 f327b114
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -222,7 +222,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 definition