LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

poetry-version

Manage project version numbers

TLDR

Show current version
$ poetry version
copy
Bump major version
$ poetry version major
copy
Bump minor version
$ poetry version minor
copy
Bump patch version
$ poetry version patch
copy
Set specific version
$ poetry version [1.2.3]
copy

SYNOPSIS

poetry version [options] [version]

DESCRIPTION

poetry version displays or updates the project version in pyproject.toml. Without arguments, it shows the current version. With a bump rule (major, minor, patch, premajor, preminor, prepatch, prerelease) or an explicit version string, it updates the version accordingly.The --short flag outputs only the version number without the project name. Use --dry-run to preview the version change without modifying the file.

PARAMETERS

VERSION

Version or bump rule.
major
Bump major version.
minor
Bump minor version.
patch
Bump patch version.
--short
Only output version.
--dry-run
Don't modify files.

INSTALL

sudo dnf install poetry
copy
sudo apk add poetry
copy
brew install poetry
copy
nix profile install nixpkgs#poetry
copy

CAVEATS

Only updates pyproject.toml. Does not create git tags.

HISTORY

poetry version provides version management for Poetry projects.

SEE ALSO

poetry(1), semver(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid