Release Dry Run
Dry run for release: summarize changes since last release and suggest version bump.
Install
npx skills add dyoshikawa/rulesync --skill release-dry-run -g -a claude-code -y- Repository
- dyoshikawa/rulesync1.6k
- Category
- Engineering
- Updated
- 3d ago
- License
- MIT
- Context cost
- Lightabout 620 tokens
- Runs scripts
- No, instructions only
What it does
Dry run for release: summarize changes since last release and suggest version bump.
This is a dry run command for release. It will summarize the changes since the last release and suggest the appropriate version bump based on semantic versioning.
Steps
-
Get the latest release tag.
- Run
git fetch --tagsto ensure all tags are available. - Run
git describe --tags --abbrev=0to get the latest tag. - Assign the result to $latest_tag.
- Run
-
Compare code changes between the latest tag and the current HEAD.
- Run
git log ${latest_tag}..HEAD --onelineto get the commit list. - Run
git diff ${latest_tag}..HEAD --statto get the file change statistics.
- Run
-
Analyze the changes and create a summary in the following format:
## Changes Summary ### Commits since ${latest_tag} - List of commits with their messages ### Changed Files - Summary of file changes (added, modified, deleted) ### Change Categories - **Breaking Changes**: List any breaking changes (API changes, removed features, etc.) - **New Features**: List new features added - **Bug Fixes**: List bug fixes - **Other Changes**: List other changes (refactoring, documentation, tests, etc.) -
Based on the analysis, suggest the appropriate version bump following semantic versioning rules:
- MAJOR (X.0.0): Breaking changes that are not backward compatible
- Removed or renamed public APIs
- Changed behavior of existing features
- Dropped support for older Node.js versions
- MINOR (x.Y.0): New features that are backward compatible
- New CLI commands or options
- New configuration options
- New tool support
- PATCH (x.y.Z): Bug fixes and minor improvements
- Bug fixes
- Documentation updates
- Internal refactoring without API changes
- Dependency updates (unless they cause breaking changes)
- MAJOR (X.0.0): Breaking changes that are not backward compatible
