diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 56b40a2..f2cec21 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -145,7 +145,7 @@ jobs: node-version: 20 - name: Publish to Marketplace - run: npx @vscode/vsce publish --packagePath treefmt-*.vsix --pat ${{ secrets.MARKETPLACE_TOKEN }} --pre-release ${{ github.ref_name }} + run: npx @vscode/vsce publish --packagePath treefmt-*.vsix --pat ${{ secrets.MARKETPLACE_TOKEN }} --pre-release # - name: Publish to OpenVSX # run: npx ovsx publish --packagePath treefmt-*.vsix --pat ${{ secrets.OPENVSX_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f13e86..ffa4595 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ on: push: tags: - 'v*.*.*' # Matches tags like v1.0.0, v2.0.0, etc., but not pre-releases + - '!v*.*.*-rc*' # Exclude pre-release tags like v2.0.0-rc1, v2.0.0-rc2, etc. permissions: contents: write