Skip to content

release

Description

Release a new version of the package.

Optional Parameters:

dep_path: Path to the dependency file (pyproject.toml). (Default: pyproject.toml)

verbose (--verbose/--no-verbose): Enable verbose output. (Default: False)

Usage: Release with default settings: adev release

Release with custom dependency file:
    adev release -p ./custom/pyproject.toml

Release with verbose output:
    adev release --verbose

Notes

- Automatically bumps version and creates a new tag
- Pushes tag and branch to GitHub
- Triggers GitHub action to publish to PyPI
- Requires clean git working tree
- Will prompt for confirmation before proceeding