7011: Don't release uncompressed binaries under the new naming scheme r=lnicola a=lnicola

bors r+

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
bors[bot] 2020-12-23 07:03:43 +00:00 committed by GitHub
commit f7f85cdd8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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