Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix `view release notes locally` (#8553)
Joseph T. Lyons4a4ca2c3b81d
diff --git a/crates/auto_update/src/auto_update.rs b/crates/auto_update/src/auto_update.rsindex 926a9a85199..3dd10b10a95 100644--- a/crates/auto_update/src/auto_update.rs+++ b/crates/auto_update/src/auto_update.rs@@ -20,7 +20,7 @@ use smol::io::AsyncReadExt;use settings::{Settings, SettingsStore};use smol::{fs::File, process::Command};-use release_channel::{AppCommitSha, ReleaseChannel};+use release_channel::{AppCommitSha, AppVersion, ReleaseChannel};use std::{env::consts::{ARCH, OS},ffi::OsString,@@ -190,7 +190,7 @@ pub fn view_release_notes(_: &ViewReleaseNotes, cx: &mut AppContext) -> Option<(fn view_release_notes_locally(workspace: &mut Workspace, cx: &mut ViewContext<Workspace>) {let release_channel = ReleaseChannel::global(cx);- let version = env!("CARGO_PKG_VERSION");+ let version = AppVersion::global(cx).to_string();let client = client::Client::global(cx).http_client();let url = client.build_url(&format!(