Skip to content

Commit 254101e

Browse files
authored
Fix action regex check (#2)
1 parent 57b4b10 commit 254101e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
id: version
2727
run: |
2828
VERSION=$(cat VERSION)
29-
if [[ ! "$VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-dev(-[0-9a-f]*)?)?$ ]]; then
29+
if [[ ! "$VERSION" =~ ^v?[0-9]+\.[0-9]+\.[0-9]+(-dev(-[0-9a-f]*)?)?$ ]]; then
3030
echo "Invalid version format: $VERSION"
3131
exit 1
3232
fi

0 commit comments

Comments
 (0)