diff options
author | Aleksey Kladov <[email protected]> | 2020-03-09 13:20:40 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-03-09 13:24:00 +0000 |
commit | bf3eef8897502be4481eb663167c6ca5a2992fec (patch) | |
tree | 91413a80bd577ecbd20f9dd3b584308235d736dc /.github/workflows | |
parent | 5770fa71fa822c998b4d3b57cf1f001dfd84e6e8 (diff) |
Set extension version during release
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 96b9a85be..0434b6128 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml | |||
@@ -71,7 +71,7 @@ jobs: | |||
71 | with: | 71 | with: |
72 | node-version: 12.x | 72 | node-version: 12.x |
73 | 73 | ||
74 | - run: echo "::set-env name=TAG::$(date --iso)" | 74 | - run: echo "::set-env name=TAG::$(date --iso --utc)" |
75 | if: github.event_name == 'push' | 75 | if: github.event_name == 'push' |
76 | - run: echo "::set-env name=TAG::nightly" | 76 | - run: echo "::set-env name=TAG::nightly" |
77 | if: github.event_name == 'schedule' | 77 | if: github.event_name == 'schedule' |
@@ -108,4 +108,4 @@ jobs: | |||
108 | if: github.event_name == 'push' | 108 | if: github.event_name == 'push' |
109 | working-directory: ./editors/code | 109 | working-directory: ./editors/code |
110 | # token from https://dev.azure.com/rust-analyzer/ | 110 | # token from https://dev.azure.com/rust-analyzer/ |
111 | run: npx vsce publish 0.1.$(date +%Y%m%d) --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer.vsix | 111 | run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer.vsix |