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