mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
fix tagging for nightly (#3202)
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -64,8 +64,8 @@ jobs:
|
|||||||
echo "Initial RELEASE_TAG: ${RELEASE_TAG}"
|
echo "Initial RELEASE_TAG: ${RELEASE_TAG}"
|
||||||
|
|
||||||
# Validate that the tag starts with 'v' and follows semver
|
# 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
|
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 or vX.Y.Z-prerelease"
|
echo "Error: Version must be in the format vX.Y.Z, vX.Y.Z-prerelease, or vX.Y.Z+buildmeta"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user