You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for example, for a project named my-little-helper with a version 2.0.22 the command will emit: my-little-helper 2.0.22
In poetry there is also an option to add the --short option and the result will be 2.0.22
The motivation for that is to be able to extract the version for automatic tagging a successful package build in a github action.
But I can think of other useful scenarios.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
In both poetry and Rye there is an option to run
poetry version
orrye version
and get the project version from the pyproject.toml.Here is a link to the rye docs:
https://rye.astral.sh/guide/commands/version/
Here is a link to the poetry docs:
https://python-poetry.org/docs/cli/#version
for example, for a project named my-little-helper with a version 2.0.22 the command will emit:
my-little-helper 2.0.22
In poetry there is also an option to add the --short option and the result will be
2.0.22
The motivation for that is to be able to extract the version for automatic tagging a successful package build in a github action.
But I can think of other useful scenarios.
Thanks
The text was updated successfully, but these errors were encountered: