From 869ec5f97ace736fdbf765d143c9634fd1b558ef Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 26 Apr 2021 15:17:02 +0300 Subject: fix: dont' misundentify nightly as stable in --version on Mac&Win We used to set `--nightly` in CI, and only for linux. Let's detect this in xtask instead. --- .github/workflows/release.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to '.github') diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 307096ef3..b50ca9a6f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -109,12 +109,7 @@ jobs: node-version: 12.x - name: Dist - if: github.ref == 'refs/heads/release' - run: cargo xtask dist --client 0.2.$GITHUB_RUN_NUMBER - - - name: Dist - if: github.ref != 'refs/heads/release' - run: cargo xtask dist --nightly --client 0.3.$GITHUB_RUN_NUMBER-nightly + run: cargo xtask dist --client-patch-version $GITHUB_RUN_NUMBER - name: Run analysis-stats on rust-analyzer run: target/${{ env.RA_TARGET }}/release/rust-analyzer analysis-stats . -- cgit v1.2.3