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.

Add bump nightly script

Mikaylabf324c152b1f
diff --git a/script/bump-nightly b/script/bump-nightly
new file mode 100755
index 00000000000..92cdd191ebc
--- /dev/null
+++ b/script/bump-nightly
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+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