Don't release uncompressed binaries under the new naming scheme

This commit is contained in:
Laurențiu Nicola 2020-12-23 08:34:10 +02:00
parent 493e29d713
commit 25a987703c
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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