Skip to content

Commit 4f99260

Browse files
committed
updated test
1 parent e8ff82b commit 4f99260

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/setup-stackql.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
# Regex patterns to validate different parts
4444
SEMVER_REGEX="v[0-9]+\.[0-9]+\.[0-9]+"
4545
PLATFORM_REGEX="(Linux|Darwin|Windows)"
46-
DATE_REGEX="\b\d{4}-\d{2}-\d{2}\b"
47-
SHA_REGEX="\([0-9a-f]{7}\)"
46+
# DATE_REGEX="\b\d{4}-\d{2}-\d{2}\b"
47+
# SHA_REGEX="\([0-9a-f]{7}\)"
4848
4949
# Perform validation
5050
if ! [[ "$VERSION_OUTPUT" =~ $SEMVER_REGEX ]]; then
@@ -55,16 +55,16 @@ jobs:
5555
echo "Platform information does not match expected formats"
5656
exit 1
5757
fi
58-
if ! [[ "$VERSION_OUTPUT" =~ $DATE_REGEX ]]; then
59-
echo "Build date does not match expected format"
60-
exit 1
61-
fi
62-
if ! [[ "$VERSION_OUTPUT" =~ $SHA_REGEX ]]; then
63-
echo "Commit SHA does not match expected format"
64-
exit 1
65-
fi
58+
# if ! [[ "$VERSION_OUTPUT" =~ $DATE_REGEX ]]; then
59+
# echo "Build date does not match expected format"
60+
# exit 1
61+
# fi
62+
# if ! [[ "$VERSION_OUTPUT" =~ $SHA_REGEX ]]; then
63+
# echo "Commit SHA does not match expected format"
64+
# exit 1
65+
# fi
6666
67-
echo "All components of the version output are validated successfully."
67+
echo "stackql --version output validated successfully."
6868
6969
7070

0 commit comments

Comments
 (0)