What problem does it solve?
This skill automates the creation of a versioned release by calculating the next semantic version, tagging the repository, and updating the CHANGELOG, reducing manual steps and human error.
Core Features & Use Cases
- Semantic version bump: automatic calculation of patch/minor/major based on changes.
- CHANGELOG automation: adds a top entry for the new version with date and notes.
- Git tagging & publishing: creates annotated tags and pushes to remote.
- Audit-ready releases: ensures all release steps are deterministic and reproducible.
- Use Case: When preparing a release after merging into main, run the release flow to produce a tagged version and updated changelog.
Quick Start
Use the skill to perform a release by following these steps:
-
Check Current State
- git checkout main
- git pull origin main
- git status
- grep -h "version" pyproject.toml | head -1
-
Calculate New Version
- Determine bump type: patch, minor, or major
-
Update Version Files
- Update version in pyproject.toml
- If present, update init.py version
-
Update CHANGELOG
- Create a top entry with the new version and date
-
Commit Release
- git add pyproject.toml CHANGELOG.md
- git commit -m "chore: release vX.Y.Z
[Release description]
Co-Authored-By: Your Name [email protected]"
-
Create Git Tag
- git tag -a vX.Y.Z -m "Release vX.Y.Z
[Release description]"
-
Push Release
- git push origin main
- git push origin vX.Y.Z
-
Confirm Release
- Show: New version number, tag created, CHANGELOG entry, and next steps.