Same release flow as vscode-pdf Next.
Pushing a version tag releases automatically via GitHub Actions:
-
Bump
versioninpackage.jsonand updateCHANGELOG.md. -
Commit on
main, then tag and push:git tag vX.Y.Z git push origin main vX.Y.Z
-
The Release workflow verifies (lint, compile, path and file-status smokes, production audit), packages the VSIX, creates/updates the GitHub Release with the VSIX attached, then publishes to:
- VS Code Marketplace (
VSCE_PATsecret — skipped with a note until the extension is registered and the secret is set) - Open VSX (
OVSX_PATsecret — optional)
- VS Code Marketplace (
Manual dry-run (no publish): Actions → Release → Run workflow with
dry_run=true. Manual publish without a new tag: dry_run=false and
confirm_publish=publish vX.Y.Z.
| Secret | Where | Purpose |
|---|---|---|
VSCE_PAT |
Repo or marketplace-publish environment |
Marketplace Manage scope PAT |
OVSX_PAT |
Repo or marketplace-publish environment |
Open VSX personal access token |
Create the Azure DevOps PAT with Marketplace → Manage, organization All accessible organizations, then:
gh secret set VSCE_PAT -R ricardofrantz/vscode-diff-next
# optional:
gh secret set OVSX_PAT -R ricardofrantz/vscode-diff-nextThird-party actions are pinned by full commit SHA, jobs use concurrency
groups, and the workflow validates that the tag is a well-formed
v<major>.<minor>.<patch> tag whose commit matches package.json's version.
Tag pushes publish automatically after verification; manual
workflow_dispatch runs additionally require dry_run=false, a matching
confirm_publish phrase, and (optionally) reviewer approval on the
marketplace-publish environment.
Releases are tagged vX.Y.Z on main. The old bare 0.0.x tags from the
pre-rename era were removed on 2026-08-11.