From 6e84f740aa2c47367da93d71d9353705cb006db7 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 20 Nov 2023 11:01:37 -0800 Subject: [PATCH] Set -e in bump-nightly script Co-authored-by: Mikayla --- script/bump-nightly | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/bump-nightly b/script/bump-nightly index 92cdd191eb..2b126d9afc 100755 --- a/script/bump-nightly +++ b/script/bump-nightly @@ -1,5 +1,7 @@ #!/bin/bash +set -e + branch=$(git rev-parse --abbrev-ref HEAD) if [ "$branch" != "main" ]; then echo "You must be on main to run this script"