Skip to content

Commit

Permalink
Merge pull request #18412 from lnicola/windows-no-gz
Browse files Browse the repository at this point in the history
internal: Stop producing .gz artifacts for Windows
  • Loading branch information
lnicola authored Oct 28, 2024
2 parents 3b3a87f + 47cb838 commit d481dec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xtask/src/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down

0 comments on commit d481dec

Please sign in to comment.