Skip to content

Commit 56bc7fb

Browse files
authored
Fix publish tag checks
1 parent c080ac7 commit 56bc7fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if [[ $GITHUB_REF == refs/tags/* ]]; then
2121
TAG="${GITHUB_REF#refs/tags/}"
2222
echo "This is a tag push ($TAG)"
23-
if [[ ! "$TAG" =~ ^[6-9]\.[0-9]\.[0-9](-(M|RC|CP)[0-9]{2})?_[0-9]$ ]]; then
23+
if [[ ! "$TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
2424
echo "❌ Invalid tag format: $TAG"
2525
exit 1
2626
fi

0 commit comments

Comments
 (0)