From c4885431e7503d1c4abde55a6eaf734c5125b449 Mon Sep 17 00:00:00 2001 From: Dean Roehrich Date: Tue, 3 Sep 2024 10:22:21 -0500 Subject: [PATCH] Use pipefail in release-all Signed-off-by: Dean Roehrich --- tools/release-all/release-all.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/release-all/release-all.sh b/tools/release-all/release-all.sh index 92eb1f4..23489f1 100755 --- a/tools/release-all/release-all.sh +++ b/tools/release-all/release-all.sh @@ -17,6 +17,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +set -e +set -o pipefail + PROG=$(basename "$0") # Crude associative-array-ish thingy that works in bash v3 for Mac.