Release Conda Code#
Conda Code publishes the same VSIX to the Visual Studio Marketplace and an immutable GitHub Release through a tag-gated GitHub Actions workflow.
Publish a release#
Update
package.jsonandpackage-lock.jsonto the new version.Add the release to
CHANGELOG.md.Commit the release preparation and wait for the main checks and documentation workflows to pass.
Create and push a tag that exactly matches
package.json:RELEASE_VERSION=0.7.0 git tag -s "${RELEASE_VERSION}" -m "Conda Code ${RELEASE_VERSION}" git push origin "${RELEASE_VERSION}"
The release workflow then:
checks that the tag and package version match
runs formatting, type checking, linting, and tests
builds and attests one versioned VSIX
creates a draft GitHub Release and uploads the VSIX
publishes that exact VSIX to the Visual Studio Marketplace
publishes the GitHub Release only after the Marketplace succeeds
Do not push a release tag until Marketplace publishing access has been verified.
If publishing is interrupted, use Re-run failed jobs in GitHub Actions. The workflow reuses the uploaded VSIX and treats an already-published Marketplace version as successful.
If draft creation itself is cancelled after the draft exists, inspect the GitHub Release before rerunning the job. Remove only that incomplete draft, then rerun the failed job. The workflow refuses to replace an existing release.