Skip to content

Commit b915b4c

Browse files
committed
Fix build action
1 parent b1bd6e5 commit b915b4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
if [[ "$TAG_VERSION" =~ ^[0-9]+\.[0-9]+$ ]]; then
7171
TAG_VERSION="${TAG_VERSION}.0"
7272
fi
73-
if [[ ! "$TAG_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
73+
if [[ ! "$TAG_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9.]+)?$ ]]; then
7474
echo "Error: Invalid version format: $TAG_VERSION"
7575
exit 1
7676
fi

0 commit comments

Comments
 (0)