Commit cb908cd2 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 e5ca4086
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,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