fix tagging for nightly (#3202)

This commit is contained in:
matt korwel 2025-07-04 00:16:35 -05:00 committed by GitHub
parent d43ea268b0
commit adc63e6882
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ jobs:
echo "Initial RELEASE_TAG: ${RELEASE_TAG}"
# Validate that the tag starts with 'v' and follows semver
if [[ ! "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9.-]+)?$ ]]; then
echo "Error: Version must be in the format vX.Y.Z or vX.Y.Z-prerelease"
if [[ ! "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9.-]+)?(\+[a-zA-Z0-9.-]+)?$ ]]; then
echo "Error: Version must be in the format vX.Y.Z, vX.Y.Z-prerelease, or vX.Y.Z+buildmeta"
exit 1
fi