Release PR
Creates a release from merged feature changes: bumps version, creates tag, and pushes to main.
What it does
- Validates you're on a
merge/*branch - Analyzes commits to auto-detect version bump (major/minor/patch)
- Bumps version in
package.json(if present) - Merges the merge branch into
main - Creates a git tag (e.g.,
v1.7.0) - Pushes main and the tag to the remote
Usage
/release-pr [patch|minor|major]
If no bump type is specified, it auto-detects based on conventional commits:
feat:commits -> minor bumpfix:commits -> patch bumpBREAKING CHANGEor!:-> major bump
How to execute
Must be run from the ORIGINAL project directory while on a merge/* branch.
bash .claude/skills/release-pr/scripts/release-pr.sh [patch|minor|major]
Important
- The version bump auto-detection uses conventional commit prefixes
- The tag is pushed to the remote, which may trigger CI/CD pipelines
- No
Co-Authored-Byheaders are added to any commit - Review the merge branch changes carefully before running this
- Requires
ghCLI to be installed for PR creation - You can override the auto-detected bump type by passing
patch,minor, ormajor