feat: add version task

This commit is contained in:
2026-09-14 22:53:35 +03:00
parent 5401f04485
commit 2df0dc762f
9 changed files with 56 additions and 5 deletions
@@ -53,3 +53,8 @@ commands = [".venv/bin/black ./"]
[presets.python.tasks.clean.venv]
conditions = ["{{ '.venv' | file }}"]
commands = ["rm -rf .venv"]
# version
[presets.python.tasks.version.poetry]
conditions = ["{{ python_poetry and version }}"]
commands = ["poetry version {{ version }}"]