Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Set -e in bump-nightly script

Max Brunsfeld6e84f740aa2c
diff --git a/script/bump-nightly b/script/bump-nightly
index 92cdd191ebc..2b126d9afca 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"