about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2020-12-23 08:34:10 +0200
committerLaurențiu Nicola <lnicola@dend.ro>2020-12-23 08:46:38 +0200
commit25a987703c05d5a78059eb776a5b4ca65018a816 (patch)
tree8758cad3fa6a8203bbb13f72ddcaeef2128f8b98
parent493e29d7132a25ce13c10393c581c2f9e1116320 (diff)
downloadrust-25a987703c05d5a78059eb776a5b4ca65018a816.tar.gz
rust-25a987703c05d5a78059eb776a5b4ca65018a816.zip
Don't release uncompressed binaries under the new naming scheme
-rw-r--r--.github/workflows/release.yaml2
-rw-r--r--xtask/src/dist.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 09752b817f0..75483b47702 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 d07ad94204c..d59b88131a2 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