Skip to content

Commit

Permalink
add error checking
Browse files Browse the repository at this point in the history
Signed-off-by: a3hadi <[email protected]>
  • Loading branch information
ayildirim21 committed Mar 11, 2024
1 parent c56f555 commit 56787f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion update_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ if (( usingBuildPush )); then
traverse_examples "make image"
elif (( usingBuildPushExample )); then
cd "./$directoryPath" || exit
make image
if ! make image; then
echo "Error: failed to run make image in $directoryPath" >&2
exit 1
fi
elif (( usingVersion )); then
traverse_examples "go get github.com/numaproj/numaflow-go@$version" "go mod tidy"
elif (( usingHelp )); then
Expand Down

0 comments on commit 56787f0

Please sign in to comment.