release
Installation
SKILL.md
/gflow:release — Cut a new release
Follow this sequence verbatim. Every step matters.
Branch-protection note:
mainblocks direct pushes. The release commit travels via achore/release-vX.Y.Zbranch PR. The signed tag is pushed independently (tag pushes bypass branch protection and trigger the CI release workflow immediately).Source-branch note (read first):
developis the integration branch — it carries ALL unreleased work andmainusually lags it. The release branch is cut fromdevelop, NOTmain. The PRchore/release-vX.Y.Z → mainthen brings the full integration history ontomain. Do not expect the work to already be onmain.
Inputs
Ask the user (if not already provided):
- Version — the new version (e.g.
0.4.0,0.4.0a3,1.0.0rc1). Use PEP 440 prerelease suffixes (aN,bN,rcN). If they don't know, run/gflow:changelogfirst and propose the next bump (PATCH for fixes only, MINOR for new features, MAJOR for breaks). - Pre-release? — prerelease versions stay marked as GitHub prereleases. Only the user can say when a release line is ready for the stable tag.