Release Skill
Perform a full release for the python-production-template.
Process
- •Ensure you are on
mainand up to date:bashgit checkout main git pull
- •Run the changelog command to auto-determine the next version:
bash
make changelog
- •Read
CHANGELOG.mdand extract the new version number from the latest heading. - •Present the changelog diff to the user for review. Wait for user approval before continuing.
- •Run the release with the determined version:
This stagesbash
make release version=X.Y.Z
CHANGELOG.md, commits asdocs: Update changelog for version X.Y.Z, creates an annotated tag, and pushes both commit and tag.
Important
- •Always wait for user approval after showing the changelog diff before running
make release. - •The version should NOT have a
vprefix (e.g.,0.5.0notv0.5.0). - •Only changelog-relevant commit types appear:
build,deps,feat,fix,refactor. - •If there are no releasable commits since the last tag, inform the user and stop.
- •This is a Copier template, not a Python package — there is no
__init__.pyto update.