We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e458b6a commit 784b314Copy full SHA for 784b314
.github/workflows/_helm.yml
@@ -28,7 +28,7 @@ jobs:
28
env:
29
VERSION: "${{ github.ref_name }}"
30
run: |
31
- if [[ "${VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-alpha|-beta|-rc).*?$ ]]; then
+ if [[ "${VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+((-alpha|-beta|-rc).*)?$ ]]; then
32
echo "Valid version format: ${VERSION}"
33
else
34
echo "Invalid version: ${VERSION}. Expected: X.Y.Z or X.Y.Z-beta.1 or X.Y.Z-alpha.1"
0 commit comments