mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
6e84f740aa
Co-authored-by: Mikayla <mikayla@zed.dev>
13 lines
234 B
Bash
Executable file
13 lines
234 B
Bash
Executable file
#!/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"
|
|
exit 1
|
|
fi
|
|
|
|
git pull --ff-only origin main
|
|
git tag -f nightly
|
|
git push -f origin nightly
|