Skip to content

Commit

Permalink
reactor: adds prompt before a tag is published
Browse files Browse the repository at this point in the history
  • Loading branch information
devraj committed Jun 29, 2024
1 parent 04fc428 commit c371b8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dotenv: ['.env']

tasks:
publish:tag:
prompt: "Before we build, is the version number up to date?"
desc: tags the current commit
cmds:
- git tag -a v$(poetry version | awk '{print $2}') -m "v$(poetry version | awk '{print $2}')"
Expand Down

0 comments on commit c371b8b

Please sign in to comment.