diff --git a/crates/gpui/src/platform/linux/platform.rs b/crates/gpui/src/platform/linux/platform.rs index 842b0d6f53dc893d24435d83fbf5fc67a3b7951d..f09f92d31a5ddb25b7d95268613a641ab7798e5a 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 6097e638c997620edcf2e6c05e00e595ad85955e..9cf869dc01efe9283b927df6ff8cf49d565622d0 100755 --- a/script/bundle-linux +++ b/script/bundle-linux @@ -26,7 +26,11 @@ done export ZED_BUNDLE=true channel=$(