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 bb514e6 commit 51f9f3aCopy full SHA for 51f9f3a
.github/workflows/release.yml
@@ -30,8 +30,8 @@ jobs:
30
shell: bash
31
run: |
32
ver=${GITHUB_REF##*/}
33
- if [[ ! "$ver" =~ [0-9]+.[0-9]+.[0-9]+$ ]]; then
34
- echo "Error: Tag format is invalid. Expected format: vX.X.X"
+ if [[ ! "$ver" =~ ^v[0-9]+(\.[0-9]+){2}(-rc[0-9]+)?$ ]]; then
+ echo "Error: Tag format is invalid. Expected format: vX.X.X or vX.X.X-rcX"
35
exit 1
36
fi
37
0 commit comments