From cdcbe1311a2d0becb6a9a436e981d6a8c771031f Mon Sep 17 00:00:00 2001 From: Lai Jiang Date: Thu, 23 Jan 2020 21:41:17 -0500 Subject: [PATCH] Make the builder script error out when a command fails (#457) --- release/build_nomulus_for_env.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/release/build_nomulus_for_env.sh b/release/build_nomulus_for_env.sh index 5e316e739..87e778dc6 100755 --- a/release/build_nomulus_for_env.sh +++ b/release/build_nomulus_for_env.sh @@ -17,6 +17,8 @@ # artifacts for all services to a designated location, and then creates a # tarball from there. +set -e + if [ $# -ne 2 ]; then echo "Usage: $0 alpha|crash|sandbox|production|tool "