Prompt file imported from corwinm/oil.code (
.github/prompts/release.prompt.md). Copyright stays with the author.
Use the GitHub Actions Release workflow for automated releases instead of editing files and tagging manually.
Release workflow:
- Ensure the commits on
mainfollow conventional commit prefixes such asfeat:,fix:,refactor:,perf:, orBREAKING CHANGE. - Open GitHub Actions and run the
Releaseworkflow. - Optionally set
dry_runtotrueto preview the next version without publishing. - On a normal run, the workflow will:
- determine the next semantic version from commits on
main - update
package.json - update
CHANGELOG.md - create the release commit and tag
- create the GitHub Release with notes
- attach the packaged
.vsix - publish to the VS Code Marketplace and Open VSX
- determine the next semantic version from commits on
Release rules:
feattriggers a minor release.fix,perf,refactor, andreverttrigger a patch release.docs,style,chore,test,build, andcido not trigger a release.- Breaking changes trigger a major release.
Do not manually edit CHANGELOG.md, bump package.json, create tags, or run gh release create for standard releases.
