diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 81f71ed4..ef20f6d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,8 @@ on: tags: # SemVer regex taken from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string # Added option to start with a v for cases like v0.0.1 - - '^v?(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)(?:-(?P(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?' + - '^(v?)(?P0|[1-9]\\d*)\\.(?P0|[1-9]\\d*)\.(?P0|[1-9]\\d*)(?:-(?P(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?' + concurrency: group: ci-${{ github.ref }}-${{ github.workflow }}