CARGO_NET_RETRY: 10
RUSTFLAGS: "-D warnings -W unreachable-pub"
RUSTUP_MAX_RETRIES: 10
- FETCH_DEPTH: 200
+ FETCH_DEPTH: 0 # pull in the tags for the version string
jobs:
dist-x86_64-pc-windows-msvc:
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 .
with:
node-version: 12.x
- - run: echo "TAG=$(date --iso --utc)" >> $GITHUB_ENV
+ - run: echo "TAG=$(date --iso -u)" >> $GITHUB_ENV
if: github.ref == 'refs/heads/release'
- run: echo "TAG=nightly" >> $GITHUB_ENV
if: github.ref != 'refs/heads/release'