This package is released through .github/workflows/publish-editors.yml.
- Create the VS Code Marketplace publisher
ubugeeei. - Add repository secret
VSCE_PATwith Marketplace Manage permission.vscereads this token from theVSCE_PATenvironment variable in CI. - Create the Open VSX namespace
ubugeeei. - Add repository secret
OVSX_PAT. - Optional for Zed: add
ZED_EXTENSIONS_PATwith permission to push a branch tozed-industries/extensionsand open a pull request. The Zed extension path includes its ownLICENSEbecause Zed validates the license at the configuredpath.
References:
- VS Code Marketplace publishing: https://code.visualstudio.com/api/working-with-extensions/publishing-extension
- VS Code automated publishing: https://code.visualstudio.com/api/working-with-extensions/continuous-integration
- Open VSX publishing: https://github.com/eclipse-openvsx/openvsx/wiki/Publishing-Extensions
- Zed extension publishing: https://zed.dev/docs/extensions/developing-extensions#publishing-your-extension
-
Run the normal repository release:
vp run release patch
The release script updates
npm/vscode-ox-content/package.json,editors/zed/extension.toml, andeditors/zed/Cargo.toml. -
The pushed
v*tag startsPublish editor extensions. -
The workflow builds platform-specific VSIX files with bundled
ox-content-lspbinaries for:linux-x64darwin-x64darwin-arm64win32-x64
-
If
VSCE_PATis configured, the workflow publishes every VSIX to the VS Code Marketplace. -
If
OVSX_PATis configured, the workflow publishes the same VSIX files to Open VSX. -
The Zed job builds the extension for
wasm32-unknown-unknownand uploads a source artifact. IfZED_EXTENSIONS_PATis configured, it also opens a PR againstzed-industries/extensionswith:[ox-content] submodule = "extensions/ox-content" path = "editors/zed" version = "<version>"
Use the Publish editor extensions workflow dispatch without publish checked.
It packages VSIX and Zed artifacts but skips Marketplace/Open VSX publishing.
To publish from a manual dispatch, provide version and check publish.
vp run build:lsp
vp run vscode:build
mkdir -p npm/vscode-ox-content/bin
cp target/release/ox-content-lsp npm/vscode-ox-content/bin/
(cd npm/vscode-ox-content && vp exec -- pnpm dlx @vscode/vsce package --no-dependencies)