Documentation
¶
Overview ¶
Command air-release computes the next semantic version from conventional commits since the latest tag and generates a changelog section.
Run it from the root of the repository you want to release:
air-release # preview next version and changelog air-release -write # also prepend the section to CHANGELOG.md air-release -tag # also create the git tag air-release -tag -release # also push the tag and create a GitHub release via gh
Flags combine explicitly and nothing is implied: CHANGELOG.md is only written with -write, and -release requires -tag.
While the major version is 0, bumps shift one level down (breaking changes bump minor, features bump patch); v1.0.0 must be tagged manually.
The bump level is inferred from the commits, but -bump major|minor|patch forces a specific level, bypassing inference and the pre-1.0 downshift.
Click to show internal directories.
Click to hide internal directories.