File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 4444
4545 SEMVER_REGEX="v[0-9]+\.[0-9]+\.[0-9]+"
4646 PLATFORM_REGEX="(Linux|Darwin|Windows)"
47- DATE_REGEX="BuildDate: \b\d{4}-\d{2}-\d{2}\b"
48- SHA_REGEX="\([0-9a-f]{7}\)"
47+ # DATE_REGEX="BuildDate: \b\d{4}-\d{2}-\d{2}\b"
48+ # SHA_REGEX="\([0-9a-f]{7}\)"
4949
5050 if ! [[ "$VERSION_OUTPUT" =~ $SEMVER_REGEX ]]; then
5151 echo "Semantic version does not match expected format"
@@ -55,14 +55,14 @@ 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
6767 echo "All components of the version output are validated successfully."
6868
You can’t perform that action at this time.
0 commit comments