mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
adding ability to publish to OVSX as part of publish workflow
This commit is contained in:
2
.github/workflows/marketplace-publish.yml
vendored
2
.github/workflows/marketplace-publish.yml
vendored
@@ -36,7 +36,9 @@ jobs:
|
|||||||
- name: Package and Publish Extension
|
- name: Package and Publish Extension
|
||||||
env:
|
env:
|
||||||
VSCE_PAT: ${{ secrets.VSCE_PAT }}
|
VSCE_PAT: ${{ secrets.VSCE_PAT }}
|
||||||
|
OVSX_PAT: ${{ secrets.OVSX_PAT }}
|
||||||
run: |
|
run: |
|
||||||
current_package_version=$(node -p "require('./package.json').version")
|
current_package_version=$(node -p "require('./package.json').version")
|
||||||
npm run publish:marketplace
|
npm run publish:marketplace
|
||||||
echo "Successfully published version $current_package_version to VS Code Marketplace"
|
echo "Successfully published version $current_package_version to VS Code Marketplace"
|
||||||
|
|
||||||
|
|||||||
@@ -161,7 +161,7 @@
|
|||||||
"test:webview": "cd webview-ui && npm run test",
|
"test:webview": "cd webview-ui && npm run test",
|
||||||
"test:extension": "vscode-test",
|
"test:extension": "vscode-test",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"publish:marketplace": "vsce publish",
|
"publish:marketplace": "vsce publish && ovsx publish",
|
||||||
"publish": "npm run build && changeset publish && npm install --package-lock-only",
|
"publish": "npm run build && changeset publish && npm install --package-lock-only",
|
||||||
"version-packages": "changeset version && npm install --package-lock-only",
|
"version-packages": "changeset version && npm install --package-lock-only",
|
||||||
"vscode:prepublish": "npm run package",
|
"vscode:prepublish": "npm run package",
|
||||||
|
|||||||
Reference in New Issue
Block a user