Release Management
Headless Wheel Builder treats releases as first-class objects with a full lifecycle: draft, submit, approve, publish — with optional rollback at any stage.
Draft a release
Section titled “Draft a release”hwb release create -v 1.0.0 -p my-packageThis creates a release record with status draft. Nothing is published yet.
Approval workflows
Section titled “Approval workflows”Three built-in workflow templates control who can approve a release and when:
Simple
Section titled “Simple”One approver, one step. Good for solo projects:
hwb release create -v 1.0.0 -p my-package --template simplehwb release submit rel-abc123hwb release approve rel-abc123 -a alicehwb release publish rel-abc123Two-stage
Section titled “Two-stage”Requires two independent approvals before publishing:
hwb release create -v 2.0.0 -p my-package --template two-stagehwb release submit rel-def456hwb release approve rel-def456 -a alice --stage 1hwb release approve rel-def456 -a bob --stage 2hwb release publish rel-def456Enterprise
Section titled “Enterprise”A three-stage pipeline: QA, Security, and Release. Each stage has its own approver pool:
hwb release create -v 3.0.0 -p my-package --template enterprisehwb release submit rel-ghi789hwb release approve rel-ghi789 -a qa-team --stage qahwb release approve rel-ghi789 -a security-team --stage securityhwb release approve rel-ghi789 -a release-mgr --stage releasehwb release publish rel-ghi789Release lifecycle
Section titled “Release lifecycle”Every release moves through these states:
| State | Description |
|---|---|
draft | Created but not yet submitted for review |
submitted | Waiting for approval |
approved | All required approvals received |
published | Artifacts pushed to registries |
rolled-back | Publication reversed |
Rollback
Section titled “Rollback”If something goes wrong after publishing:
hwb release rollback rel-abc123Rollback removes published artifacts from the target registry and marks the release as rolled-back.
Changelog generation
Section titled “Changelog generation”Headless Wheel Builder generates changelogs from Conventional Commits:
hwb changelog generate --from v0.9.0 --to v1.0.0Commit prefixes (feat:, fix:, chore:, breaking:) are grouped into sections automatically. The output is Markdown, ready for GitHub Releases or your CHANGELOG.md.