From bf3eef8897502be4481eb663167c6ca5a2992fec Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 9 Mar 2020 14:20:40 +0100 Subject: Set extension version during release --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') 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: with: node-version: 12.x - - run: echo "::set-env name=TAG::$(date --iso)" + - run: echo "::set-env name=TAG::$(date --iso --utc)" if: github.event_name == 'push' - run: echo "::set-env name=TAG::nightly" if: github.event_name == 'schedule' @@ -108,4 +108,4 @@ jobs: if: github.event_name == 'push' working-directory: ./editors/code # token from https://dev.azure.com/rust-analyzer/ - run: npx vsce publish 0.1.$(date +%Y%m%d) --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer.vsix + run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer.vsix -- cgit v1.2.3