From fca11abf4639d05095b0d7e9fcab055896db588e Mon Sep 17 00:00:00 2001 From: Matt Hansen <12618239+mkhansenbot@users.noreply.github.com> Date: Tue, 15 Aug 2023 00:31:14 +0000 Subject: [PATCH] Add pipefail to build.sh to ensure script fails if build fails --- spaceros/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spaceros/build.sh b/spaceros/build.sh index 0e46145..fa877b1 100755 --- a/spaceros/build.sh +++ b/spaceros/build.sh @@ -3,6 +3,9 @@ VCS_REF="$(git rev-parse HEAD)" VERSION=preview +# Exit script with failure if build fails +set -eo pipefail + echo "" echo "##### Building Space ROS Docker Image #####" echo ""