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
parent c571273ab4
commit 6e84f740aa

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -e
branch=$(git rev-parse --abbrev-ref HEAD) branch=$(git rev-parse --abbrev-ref HEAD)
if [ "$branch" != "main" ]; then if [ "$branch" != "main" ]; then
echo "You must be on main to run this script" echo "You must be on main to run this script"