We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1213d commit e613a3eCopy full SHA for e613a3e
.github/workflows/build.yml
@@ -48,6 +48,14 @@ jobs:
48
run: |
49
# Get the latest tag (no longer using v prefix, filter out legacy v-prefixed tags)
50
LATEST_TAG=$(git tag | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -1)
51
+
52
+ # Stop build if no version tag is found
53
+ if [ -z "$LATEST_TAG" ]; then
54
+ echo "Error: No semantic version tags found in repository"
55
+ echo "Expected format: X.Y.Z (e.g., 12.5.0)"
56
+ exit 1
57
+ fi
58
59
echo "Latest tag found: $LATEST_TAG"
60
61
# Extract version numbers (remove 'v' prefix if present for backwards compatibility)
0 commit comments