From 831bf5e7f7c48dd80f71f1256f5597bd47bf22de Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Thu, 5 Oct 2023 14:03:19 -0700 Subject: [PATCH] fix: :green_heart: publish as pre-release! --- .github/workflows/preview.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 4e59bb34d..fed759fc8 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -144,7 +144,7 @@ jobs: # 4. Package the extension - shell: pwsh run: echo "target=${{ matrix.platform }}-${{ matrix.arch }}" >> $env:GITHUB_ENV - - run: cd extension && npx vsce package --target ${{ env.target }} --pre-release + - run: cd extension && npx vsce package --pre-release --target ${{ env.target }} # 5. Upload the .vsix as an artifact - uses: actions/upload-artifact@v2 @@ -180,7 +180,7 @@ jobs: - uses: actions/download-artifact@v3 # 2. Publish the extension to VS Code Marketplace - - run: npx vsce publish --packagePath $(find . -iname *.vsix) --pre-release + - run: npx vsce publish --pre-release --packagePath $(find . -iname *.vsix) env: VSCE_PAT: ${{ secrets.VSCE_TOKEN }} @@ -188,7 +188,7 @@ jobs: - name: Publish (Open VSX Registry) run: | cd extension - npx ovsx publish -p ${{ secrets.VSX_REGISTRY_TOKEN }} --packagePath $(find . -iname *.vsix) --pre-release + npx ovsx publish --pre-release -p ${{ secrets.VSX_REGISTRY_TOKEN }} --packagePath $(find . -iname *.vsix) # 4. Update the package.json version and push changes - name: Update version in package.json