mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
Set -e in bump-nightly script
Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
c571273ab4
commit
6e84f740aa
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue