Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/dist.rs')
-rw-r--r--xtask/src/dist.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs
index 742cf7f609..c6a0be8aeb 100644
--- a/xtask/src/dist.rs
+++ b/xtask/src/dist.rs
@@ -101,9 +101,10 @@ fn dist_server(
cmd!(sh, "cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --target {target_name} {features...} --release").run()?;
let dst = Path::new("dist").join(&target.artifact_name);
- gzip(&target.server_path, &dst.with_extension("gz"))?;
if target_name.contains("-windows-") {
zip(&target.server_path, target.symbols_path.as_ref(), &dst.with_extension("zip"))?;
+ } else {
+ gzip(&target.server_path, &dst.with_extension("gz"))?;
}
Ok(())