File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments