Skip to content

Commit

Permalink
exit 1 when build fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Jun 6, 2024
1 parent f0914e3 commit 4c9abcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packs/dispatch/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ while true; do
break
fi
if [ "$PHASE" == "Failed" ]; then
echo "$(date) uild failed"
echo "$(date) Build failed"
exit 1
break
fi
echo "$(date) Waiting for build to complete...$PHASE"
Expand Down

0 comments on commit 4c9abcf

Please sign in to comment.