update pipline

This commit is contained in:
2025-08-06 20:09:15 +02:00
parent 6bded783a1
commit 8be9aae05d
+7 -1
View File
@@ -35,7 +35,13 @@ jobs:
git add package.json git add package.json
git commit -m "Update version to ${{ github.ref_name }}" git commit -m "Update version to ${{ github.ref_name }}"
git push origin HEAD:main git push origin HEAD:main
- name: Publish to Visual Studio Marketplace - name: Publish to Visual Studio Marketplace (Pre-Release)
if: contains(github.ref_name, '-')
run: vsce publish --pre-release
env:
VSCE_PAT: ${{ secrets.VSCODE_MARKETPALCE }}
- name: Publish to Visual Studio Marketplace (Stable)
if: ${{ !contains(github.ref_name, '-') }}
run: vsce publish run: vsce publish
env: env:
VSCE_PAT: ${{ secrets.VSCODE_MARKETPALCE }} VSCE_PAT: ${{ secrets.VSCODE_MARKETPALCE }}