From 6126cb923c7695f7c7253fbe08c2d6a342ad2e57 Mon Sep 17 00:00:00 2001 From: Elijas <4084885+Elijas@users.noreply.github.com> Date: Sat, 16 Dec 2023 01:31:14 +0200 Subject: [PATCH] build: add new build tasks --- Taskfile.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Taskfile.yml b/Taskfile.yml index 7d1eb0b..47274ef 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -128,6 +128,11 @@ tasks: cmds: - poetry run cz bump {{.CLI_ARGS}} + version-bump-and-push: # Increment the version number and push the latest tag to remote. + cmds: + - task: version-bump + - git push origin $(git describe --tags `git rev-list --tags --max-count=1`) + update-dependencies: cmds: - poetry update @@ -188,3 +193,11 @@ tasks: a: # You can just run `task a` instead of `task accuracy-tests`. deps: - accuracy-tests + + v: # You can just run `task v` instead of `task version-bump`. + deps: + - version-bump + + vv: # You can just run `task vv` instead of `task version-bump-and-push`. + deps: + - version-bump-and-push \ No newline at end of file