Skip to content

Commit

Permalink
build(taskfile): add 'push-version' task
Browse files Browse the repository at this point in the history
  • Loading branch information
Elijas committed Dec 15, 2023
1 parent 6126cb9 commit c049d65
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,8 @@ tasks:
cmds:
- poetry run cz bump {{.CLI_ARGS}}

version-bump-and-push: # Increment the version number and push the latest tag to remote.
push-version: # 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:
Expand Down Expand Up @@ -198,6 +197,6 @@ tasks:
deps:
- version-bump

vv: # You can just run `task vv` instead of `task version-bump-and-push`.
vv: # You can just run `task vv` instead of `task push-version`.
deps:
- version-bump-and-push
- push-version

0 comments on commit c049d65

Please sign in to comment.