Skip to content

Commit

Permalink
Add pipefail to build.sh to ensure script fails if build fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhansenbot committed Aug 16, 2023
1 parent b6e00b3 commit 102fa62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spaceros/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down

0 comments on commit 102fa62

Please sign in to comment.