Publishing the VS Code Extension
Steps to publish a new version of the ciderpress-vscode extension to the VS Code Marketplace.
Publisher
The extension is published as bytefarm.ciderpress-vscode (publisher bytefarm, package ciderpress-vscode).
- Publisher page: https://marketplace.visualstudio.com/manage/publishers/bytefarm
Prerequisites
- Marketplace publish access for the
bytefarmpublisher. - A valid Azure DevOps Personal Access Token with Marketplace → Manage scope, stored as the
VSCE_PATrepository secret (used by the release workflow). For the manual fallback, you need either the same token locally or a logged-invscesession.
Preferred: automated release
The canonical publish path is the VS Code Extension Release workflow at .github/workflows/vscode-release.yml. It runs typecheck, build, and package against the current main, then publishes.
1. Bump the version
Open a PR that bumps version in extensions/vscode/package.json. Get it reviewed and merged into main like any other change.
2. Trigger the workflow
After the bump PR merges, dispatch the release workflow:
The workflow runs, in order:
pnpm install(from the repo root)pnpm typecheck(inextensions/vscode/)pnpm buildpnpm package— producesextensions/vscode/ciderpress-vscode-<version>.vsixnpx @vscode/vsce publish --pat "$VSCE_PAT" --no-git-tag-version
If any step fails, the publish step is skipped. Fix the failure on main and re-dispatch.
3. Verify
Then confirm the new version appears on the Marketplace listing and the publisher dashboard.
Fallback: manual publish
Only use this when the workflow is unavailable (e.g. broken Actions, secret rotation in progress). It bypasses the CI-validated build path.
1. Bump the version in a PR
Same as Step 1 above — never commit the bump directly to main.
2. Validate locally
From the repo root, run the same checks the workflow runs:
The package step writes extensions/vscode/ciderpress-vscode-<version>.vsix.
3. Upload via the Marketplace UI
- Go to https://marketplace.visualstudio.com/manage/publishers/bytefarm
- Open the
...menu on the ciderpress extension → Update - Upload the
.vsixfile
Or, if you have a valid VSCE_PAT locally: