Skip to content

Commit 6be2c3f

Browse files
ljunkieCopilot
andauthored
Update .github/workflows/xelp_shadow_release.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 621fcaf commit 6be2c3f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/xelp_shadow_release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
3737
# Split version into parts
3838
IFS='.' read -r -a PARTS <<< "$BASE_VERSION"
39+
if [ ${#PARTS[@]} -ne 3 ]; then
40+
echo "Error: Version must be in MAJOR.MINOR.PATCH format"
41+
exit 1
42+
fi
3943
MAJOR="${PARTS[0]}"
4044
MINOR="${PARTS[1]}"
4145
PATCH="${PARTS[2]}"

0 commit comments

Comments
 (0)