File tree Expand file tree Collapse file tree 3 files changed +565
-90
lines changed
packages/tools/vscode-objectql Expand file tree Collapse file tree 3 files changed +565
-90
lines changed Original file line number Diff line number Diff line change 9797 echo "::error::VSCE_PAT secret is not set. Cannot publish to marketplace."
9898 exit 1
9999 fi
100- npx @vscode/vsce publish --no-yarn --pat "$VSCE_PAT"
100+ # Use the specific VSIX file generated in the Package step
101+ VSIX_NAME=$(ls *.vsix | head -n 1)
102+ if [ -z "$VSIX_NAME" ]; then
103+ echo "::error::No VSIX file found to publish"
104+ exit 1
105+ fi
106+ echo "Publishing $VSIX_NAME..."
107+ npx @vscode/vsce publish --packagePath "$VSIX_NAME" --no-yarn --pat "$VSCE_PAT"
101108
102109 - name : Create GitHub Release
103110 if : inputs.dry_run != true && startsWith(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change 222222 "@types/vscode" : " ^1.85.0" ,
223223 "@vscode/test-electron" : " ^2.3.0" ,
224224 "typescript" : " ^5.3.0" ,
225- "@vscode/vsce" : " ^2.22.0 "
225+ "@vscode/vsce" : " ^3.7.1 "
226226 },
227227 "extensionDependencies" : [
228228 " redhat.vscode-yaml"
You can’t perform that action at this time.
0 commit comments