Set -e in bump-nightly script

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Max BrunsfeldandMikayla committed 2023-11-20 11:01:37 -08:00
1 parent aba7e5845c
commit 41cd09cc4a
1 file changed
+2
+2
View File
@@ -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"