← Dev log

devops

VS Code Marketplace Publishing

VS Code Marketplace Publishing

Names. An extension name is unique across the whole Marketplace, not just per publisher. Removing an extension reserves its name permanently, so use Unpublish. Two names were refused as "already exists" with an empty publisher page; the cause was never found. Check availability before writing the name into manifests, tests and workflows.

Auth. Global Azure DevOps tokens are due to be retired on 2026-12-01. Trusted Publishing replaces them: register a policy for owner, repository and workflow file, give the job id-token: write, and run vsce publish --oidc. Not yet exercised on this project, including whether it can create a brand-new extension.

Open VSX is separate: its own account, namespace and token.

Packages. --target builds one per platform; a universal package carries everything and is much larger. Make the packaging script refuse a version that differs from the service version.

Release flow that is safe to repeat: tag, build and attach packages to the release, then a manual publish workflow that downloads them, verifies checksums and versions, and publishes with --skip-duplicate.

Used in: Ferry