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"
Max Brunsfeld and Mikayla created
Co-authored-by: Mikayla <mikayla@zed.dev>
script/bump-nightly | 2 ++
1 file changed, 2 insertions(+)
@@ -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"