Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use distinct version for zed2, append git hash to its nightly version
Kirill Bulatov9e1d79744554
diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.ymlindex 38552646c34..0e0fd18e253 100644--- a/.github/workflows/release_nightly.yml+++ b/.github/workflows/release_nightly.yml@@ -81,11 +81,12 @@ jobs:- name: Limit target directory sizerun: script/clear-target-dir-if-larger-than 100- - name: Set release channel to nightly+ - name: Set release channel to nightly, add nightly prefix to the final versionrun: |set -euversion=$(git rev-parse --short HEAD)echo "Publishing version: ${version} on release channel nightly"+ sed -i '' "s/version = \"\(.*\)\"/version = \"\1-nightly\"/" crates/zed2/Cargo.tomlecho "nightly" > crates/zed/RELEASE_CHANNEL- name: Generate license filediff --git a/Cargo.lock b/Cargo.lockindex 4b5af36a19b..6935b2810ac 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -11889,7 +11889,7 @@ dependencies = [[[package]]name = "zed2"-version = "0.109.0"+version = "2.0.0"dependencies = ["activity_indicator2","ai2",diff --git a/crates/zed2/Cargo.toml b/crates/zed2/Cargo.tomlindex 8c0c932f288..0fcbcc40fc2 100644--- a/crates/zed2/Cargo.toml+++ b/crates/zed2/Cargo.toml@@ -2,7 +2,7 @@description = "The fast, collaborative code editor."edition = "2021"name = "zed2"-version = "0.109.0"+version = "2.0.0"publish = false[lib]