wit release
Create, manage, and view releases with optional AI-powered release notes generation.
Overview
Releases in wit are annotated tags with additional metadata. The release command provides:
- Release creation and management
- AI-generated release notes from commits
- Multiple output formats
- Release lifecycle management
Usage
Commands
List Releases
Output:
Create Release
Options
View Release
Output:
Generate Release Notes
Generate AI-powered release notes without creating a release:
Output (standard):
Notes Styles
Delete Release
Latest Release
AI-Generated Notes
When using --generate, wit analyzes commits between releases and creates structured notes:
- Categorizes commits by type (feat, fix, docs, etc.)
- Extracts breaking changes from commit messages
- Lists contributors who made changes
- Calculates statistics (commits, files changed)
Commit Message Parsing
For best results, use conventional commit messages:
Examples
Standard Release Workflow
Pre-release Workflow
Generate Notes Only
Semver Sorting
Releases are sorted by semantic version when possible:
v2.0.0
v1.2.0
v1.1.0
v1.0.0
v1.0.0-beta.2
v1.0.0-beta.1
Non-semver tags fall back to alphabetical sorting.
Tips
Use --style changelog to generate notes compatible with CHANGELOG.md files.
The --previous flag is useful when you’ve skipped releases or want to include changes from multiple versions.
Draft and publish states are primarily managed through the web UI or API when using wit’s server platform.