Commit 75c34332 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 949a97a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -241,7 +241,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