Commit 08e9d7e9 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix(release): support full semantic-versioning specifcation (with prerelease and build metadata)

parent 2c0822cc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -240,7 +240,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-\.]+)?$/'

  # compileall
  PYTHON_COMPILE_ARGS: $[[ inputs.compile-args ]]
@@ -622,7 +622,7 @@ variables:
    elif [[ -f "Pipfile" ]]
    then
      log_info "--- Build system auto-detected: Pipenv"
      export PYTHON_BUILD_SYSTEM="pipenv"
      export "pipenv"
    else
      log_error "--- Build system auto-detect failed: please read template doc"
      exit 1