feat: add version task
This commit is contained in:
@@ -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 }}"]
|
||||
|
||||
Reference in New Issue
Block a user