diff options
author | Aleksey Kladov <[email protected]> | 2021-04-26 13:17:02 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-04-26 13:17:02 +0100 |
commit | 869ec5f97ace736fdbf765d143c9634fd1b558ef (patch) | |
tree | 38ea5bf7f9d5dc0f5ec35912ffecfc8d0c795b74 /.github/workflows | |
parent | 691c96e36a9e760d8e6f035377d03223e2f93277 (diff) |
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.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release.yaml | 7 |
1 files changed, 1 insertions, 6 deletions
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: | |||
109 | node-version: 12.x | 109 | node-version: 12.x |
110 | 110 | ||
111 | - name: Dist | 111 | - name: Dist |
112 | if: github.ref == 'refs/heads/release' | 112 | run: cargo xtask dist --client-patch-version $GITHUB_RUN_NUMBER |
113 | run: cargo xtask dist --client 0.2.$GITHUB_RUN_NUMBER | ||
114 | |||
115 | - name: Dist | ||
116 | if: github.ref != 'refs/heads/release' | ||
117 | run: cargo xtask dist --nightly --client 0.3.$GITHUB_RUN_NUMBER-nightly | ||
118 | 113 | ||
119 | - name: Run analysis-stats on rust-analyzer | 114 | - name: Run analysis-stats on rust-analyzer |
120 | run: target/${{ env.RA_TARGET }}/release/rust-analyzer analysis-stats . | 115 | run: target/${{ env.RA_TARGET }}/release/rust-analyzer analysis-stats . |