diff --git a/crates/gpui/src/platform/linux/platform.rs b/crates/gpui/src/platform/linux/platform.rs index 842b0d6f53..f09f92d31a 100644 --- a/crates/gpui/src/platform/linux/platform.rs +++ b/crates/gpui/src/platform/linux/platform.rs @@ -348,7 +348,12 @@ impl Platform for P { } fn app_version(&self) -> Result { - Ok(SemanticVersion::new(1, 0, 0)) + const VERSION: Option<&str> = option_env!("RELEASE_VERSION"); + if let Some(version) = VERSION { + version.parse() + } else { + Ok(SemanticVersion::new(1, 0, 0)) + } } fn app_path(&self) -> Result { diff --git a/script/bundle-linux b/script/bundle-linux index 6097e638c9..9cf869dc01 100755 --- a/script/bundle-linux +++ b/script/bundle-linux @@ -26,7 +26,11 @@ done export ZED_BUNDLE=true channel=$(