From 25a987703c05d5a78059eb776a5b4ca65018a816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Wed, 23 Dec 2020 08:34:10 +0200 Subject: Don't release uncompressed binaries under the new naming scheme --- .github/workflows/release.yaml | 2 +- xtask/src/dist.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 09752b817..75483b477 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -82,7 +82,7 @@ jobs: - name: Nightly analysis-stats check if: github.ref != 'refs/heads/release' - run: ./dist/rust-analyzer-x86_64-unknown-linux-gnu analysis-stats . + run: target/x86_64-unknown-linux-gnu/release/rust-analyzer analysis-stats . - name: Upload artifacts uses: actions/upload-artifact@v1 diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index d07ad9420..d59b88131 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs @@ -70,7 +70,6 @@ fn dist_server() -> Result<()> { let src = Path::new("target").join(&target).join("release").join(format!("rust-analyzer{}", suffix)); let dst = Path::new("dist").join(format!("rust-analyzer-{}{}", target, suffix)); - cp(&src, &dst)?; gzip(&src, &dst.with_extension("gz"))?; // FIXME: the old names are temporarily kept for client compatibility, but they should be removed -- cgit v1.2.3