poetry-version
Manage Poetry project version. tldr-pages
On several platforms
Several platforms
Manage Poetry project version. Assumes the following project stages: patch, minor, major, prepatch, preminor, premajor, prerelease.
Output the current version
poetry version --shortIdentifySet project to a specific phase
poetry version stageIdentifyIncrement the project to the next prerelease phase
poetry version --next-phaseIdentifySimulate bumping the version to a given stage without writing to pyproject.toml
poetry version stage --dry-runIdentify