File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -206,11 +206,15 @@ jobs:
206206 # Validate that the feast version installed is not development and is the correct version of the tag we ran it off of.
207207 - name : Validate Feast Version
208208 run : |
209+ if ! VERSION_OUTPUT=$(feast version); then
210+ echo "Error: Failed to get Feast version."
211+ exit 1
212+ fi
209213 VERSION_REGEX='[0-9]+\.[0-9]+\.[0-9]+'
210214 OUTPUT_REGEX='^Feast SDK Version: "$VERSION_REGEX"$'
211- VERSION_OUTPUT=$(feast version)
212215 VERSION=$(echo $VERSION_OUTPUT | grep -oE "$VERSION_REGEX")
213216 OUTPUT=$(echo $VERSION_OUTPUT | grep -E "$REGEX")
217+ echo "Installed Feast Version: $VERSION and using Feast Version: $VERSION_WITHOUT_PREFIX"
214218 if [ -n "$OUTPUT" ] && [ "$VERSION" = "$VERSION_WITHOUT_PREFIX" ]; then
215219 echo "Correct Feast Version Installed"
216220 else
You can’t perform that action at this time.
0 commit comments