diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yaml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 307096ef3..d5c93f69b 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 . |
@@ -266,7 +261,7 @@ jobs: | |||
266 | with: | 261 | with: |
267 | node-version: 12.x | 262 | node-version: 12.x |
268 | 263 | ||
269 | - run: echo "TAG=$(date --iso --utc)" >> $GITHUB_ENV | 264 | - run: echo "TAG=$(date --iso -u)" >> $GITHUB_ENV |
270 | if: github.ref == 'refs/heads/release' | 265 | if: github.ref == 'refs/heads/release' |
271 | - run: echo "TAG=nightly" >> $GITHUB_ENV | 266 | - run: echo "TAG=nightly" >> $GITHUB_ENV |
272 | if: github.ref != 'refs/heads/release' | 267 | if: github.ref != 'refs/heads/release' |