build: bump version to v0.11.15-rc2

This commit is contained in:
Myriad-Dreamin 2024-07-14 19:22:23 +08:00
parent d4a24ea993
commit 696dc20c87
5 changed files with 25 additions and 14 deletions

View file

@ -306,11 +306,22 @@ jobs:
- name: Install deps
run: yarn install
- name: Deploy to VS Code Marketplace
if: "!contains(github.ref, 'rc')"
run: npx @vscode/vsce publish --packagePath $(find . -type f -iname 'tinymist-*.vsix') --skip-duplicate
env:
VSCE_PAT: ${{ secrets.VSCODE_MARKETPLACE_TOKEN }}
- name: Deploy to OpenVSX
if: "!contains(github.ref, 'rc')"
run: npx ovsx publish --packagePath $(find . -type f -iname 'tinymist-*.vsix') --skip-duplicate
env:
OVSX_PAT: ${{ secrets.OPENVSX_ACCESS_TOKEN }}
- name: Deploy to VS Code Marketplace (Pre Release)
if: contains(github.ref, 'rc')
run: npx @vscode/vsce publish --packagePath $(find . -type f -iname 'tinymist-*.vsix') --skip-duplicate --pre-release
env:
VSCE_PAT: ${{ secrets.VSCODE_MARKETPLACE_TOKEN }}
- name: Deploy to OpenVSX (Pre Release)
if: contains(github.ref, 'rc')
run: npx ovsx publish --packagePath $(find . -type f -iname 'tinymist-*.vsix') --skip-duplicate --pre-release
env:
OVSX_PAT: ${{ secrets.OPENVSX_ACCESS_TOKEN }}