Use when the author wants to cut, prepare or bump a Corral release (pre-release or stable), set the next version, update the CHANGELOG for a release, or tag a version. Walks the odd/even version rule and stops to ask before any tag or push.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Release?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/adamleblanc-release)
---
name: release
description: Use when the author wants to cut, prepare or bump a Corral release (pre-release or stable), set the next version, update the CHANGELOG for a release, or tag a version. Walks the odd/even version rule and stops to ask before any tag or push.
---
# Cutting a Corral release
Full reference: `docs/releasing.md`. Odd minor = pre-release, even minor = stable. A tag push only creates a
**draft**; nothing reaches the stores until the author publishes that draft in the GitHub UI.
1. Check the ground: `git status` is clean, the branch is `main` and up to date (`git fetch && git status -sb`),
and Node 22 is active (`nvm use`).
2. Ask the author which tier: **pre-release** or **stable**, and patch or minor bump.
3. Pick the version. If `package.json` `version` has never been tagged (`git tag -l 'v*'`), release it as is,
with no bump (e.g. the first release, 0.1.0). Otherwise bump it:
- pre-release: an odd minor (0.1.0 -> 0.1.1, or 0.2.x -> 0.3.0);
- stable: an even minor (0.1.x -> 0.2.0, or 0.2.0 -> 0.2.1).
A version already on a store can't be reused.
4. Validate it: `node scripts/release/cli.mjs channel <version>` must print `pre-release` or `stable` to match the
tier. If it doesn't, pick again.
5. Set it (skip if unchanged): `npm version <version> --no-git-tag-version` (updates `package.json` and
`package-lock.json`).
6. Update `CHANGELOG.md`: the section heading is `## X.Y.Z`. Rename `## X.Y.Z (unreleased)` (or add a new
section) to `## X.Y.Z (YYYY-MM-DD)` with today's date, and make sure the changes since the last release are
listed under it. Keep the western voice in prose; commands and settings stay literal.
7. Verify the notes: `node scripts/release/cli.mjs notes <version>` prints that section. Then
`npm run typecheck && npm test`.
8. If `package.json` `publisher` is still `your-publisher-id`, tell the author: the draft can be built, but
publishing will be refused until it is replaced (`docs/releasing.md`, "Replace the placeholder publisher").
9. Commit: `chore: release <version>` (no `Claude-Session:` trailer, repo identity only).
10. **Ask the author, and wait for a yes**, before pushing: `git push origin main`. Then wait for CI to go green
(`gh run watch`).
11. Optional dry run, if the author wants one: `gh workflow run release.yml -f dry_run=true`, then `gh run watch`.
12. **Ask the author again, and wait for a yes**, before creating and pushing the tag:
```sh
git tag v<version>
git push origin v<version>
```
13. Tell the author what happens next: `release.yml` builds a draft release (marked pre-release for odd minors)
with the `.vsix` attached. They review it and publish it in the GitHub UI (**Releases -> Edit -> Publish
release**), leaving **Set as a pre-release** ticked only for odd minors. Then `publish.yml` pushes to the
VS Code Marketplace and Open VSX.
Never run `vsce publish`, `ovsx publish` or `gh release` publish/edit commands yourself.