Automated release system for the VSCode extension
apps/vscode-extension
) that enables seamless publishing to both the Visual Studio Marketplace and Open VSX Registry.
.github/workflows/vscode-extension-release.yml
:
Triggers:
package.json
version was actually changedtooling/github/vscode-extension/github-release/action.yml
:
Steps:
bun run build
to compile the extensionbunx vsce package
bunx vsce publish
bunx ovsx publish
CHANGELOG.md
vscode-v{version}
and attaches VSIX fileVSCE_PAT
: Personal Access Token for Visual Studio Marketplace
OVSX_PAT
: Personal Access Token for Open VSX Registry
package.json
(already set)apps/vscode-extension/CHANGELOG.md
with version sections like:main
, Changeset NPM Release workflow runsVSCE_PAT
and OVSX_PAT
are securely stored as GitHub secretsvscode-v{version}
to distinguish from CLI releases.