Skip to content

Commit

Permalink
add release task
Browse files Browse the repository at this point in the history
  • Loading branch information
orsinium committed Jun 30, 2024
1 parent da36454 commit 5793c9b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,13 @@ tasks:
test:
cmds:
- go test -count=1 -timeout 2s -cover ./...

release:
desc: Tag and upload release
cmds:
- which gh
- test v{{.CLI_ARGS}}
- git tag v{{.CLI_ARGS}}
- git push
- git push --tags
- gh release create --generate-notes v{{.CLI_ARGS}}

0 comments on commit 5793c9b

Please sign in to comment.