Skip to content

Commit

Permalink
fix(ci): ignores rc tags in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
isbecker committed Jun 25, 2024
1 parent 95a77bb commit a9b7e17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9b7e17

Please sign in to comment.