mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Set -e in bump-nightly script
Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
c571273ab4
commit
6e84f740aa
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user