mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 19:59:24 +08:00
2b0c3349c2
Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com> Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
577 B
577 B
poetry version
Manage Poetry project version. Assumes the following project stages:
patch,minor,major,prepatch,preminor,premajor,prerelease. See also:asdf. More information: https://python-poetry.org/docs/cli/#version.
- Output the current version:
poetry version {{[-s|--short]}}
- Set project to a specific phase:
poetry version {{stage}}
- Increment the project to the next prerelease phase:
poetry version --next-phase
- Test project stage function without writing to
pyproject.toml:
poetry version {{stage}} --dry-run