add rc to valid semver

This commit is contained in:
Georges-Antoine Assi
2025-07-19 10:41:44 -04:00
parent c7cdbad141
commit 24c0b1836b

View File

@@ -23,7 +23,7 @@ jobs:
id: check_tag
run: |
TAG="${{ github.event.release.tag_name }}"
if [[ "$TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-alpha\.[0-9]+|-beta\.[0-9]+)?$ ]]; then
if [[ "$TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-alpha\.[0-9]+|-beta\.[0-9]+|-rc\.[0-9]+)?$ ]]; then
echo "valid=true" >> $GITHUB_OUTPUT
else
echo "valid=false" >> $GITHUB_OUTPUT