Set -e in bump-nightly script

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Max Brunsfeld
2023-11-20 11:01:37 -08:00
co-authored by Mikayla
parent c571273ab4
commit 6e84f740aa
+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"