From c98214511f528a5b8dc632790505dbd2bb45da56 Mon Sep 17 00:00:00 2001 From: Joshua Feingold Date: Tue, 3 Oct 2023 12:23:04 -0500 Subject: [PATCH] @W-14198233@: Fixing error in publish script. --- .github/workflows/publishVSCode.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publishVSCode.yml b/.github/workflows/publishVSCode.yml index 6012f7e..f0bcb28 100644 --- a/.github/workflows/publishVSCode.yml +++ b/.github/workflows/publishVSCode.yml @@ -73,7 +73,6 @@ jobs: runs-on: ubuntu-latest env: VSCE_PERSONAL_ACCESS_TOKEN: ${{ secrets.VSCE_PERSONAL_ACCESS_TOKEN }} - PUBLISH_VERSION: ${{ needs.validate-release-environment.outputs.RELEASE_VERSION }} GITHUB_TOKEN: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }} steps: - name: Checkout the release tag @@ -90,7 +89,7 @@ jobs: - name: Download Extension From Release run: | mkdir ./extensions - gh release download v${{ env.PUBLISH_VERSION }} -D ./extensions + gh release download ${{ github.event.release.tag_name || inputs.tag }} -D ./extensions - name: Display downloaded VSIX run: ls -R ./extensions - name: Publish the VSIX