mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Merge pull request #822 from RooVetGit/cte/ensure-vsix-correctly-built
Validate vsix in publish GHA
This commit is contained in:
commit
29773377fe
2 changed files with 10 additions and 1 deletions
9
.github/workflows/marketplace-publish.yml
vendored
9
.github/workflows/marketplace-publish.yml
vendored
|
|
@ -39,6 +39,13 @@ jobs:
|
|||
OVSX_PAT: ${{ secrets.OVSX_PAT }}
|
||||
run: |
|
||||
current_package_version=$(node -p "require('./package.json').version")
|
||||
|
||||
npm run vsix
|
||||
package=$(unzip -l bin/roo-cline-${current_package_version}.vsix)
|
||||
echo "$package"
|
||||
echo "$package" | grep -q "dist/extension.js" || exit 1
|
||||
echo "$package" | grep -q "extension/webview-ui/build/assets/index.js" || exit 1
|
||||
echo "$package" | grep -q "extension/node_modules/@vscode/codicons/dist/codicon.ttf" || exit 1
|
||||
|
||||
npm run publish:marketplace
|
||||
echo "Successfully published version $current_package_version to VS Code Marketplace"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
# Default
|
||||
.github/**
|
||||
.husky/**
|
||||
.vscode/**
|
||||
.vscode-test/**
|
||||
out/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue