Compare commits
2 commits
a4bbe933be
...
cc6c2c4bea
Author | SHA1 | Date | |
---|---|---|---|
cc6c2c4bea | |||
5879e8428b |
1 changed files with 14 additions and 6 deletions
20
Taskfile.yml
20
Taskfile.yml
|
@ -17,17 +17,25 @@ vars:
|
|||
COMMITMSG: "chore: bump version to {{.RELEASE}}"
|
||||
|
||||
tasks:
|
||||
release:tag:
|
||||
desc: Create a new tag
|
||||
cmds:
|
||||
- git tag {{.RELEASE}}
|
||||
- git push --tags
|
||||
|
||||
release:
|
||||
desc: Create and publish an new release
|
||||
release:goreleaser:
|
||||
desc: Create a new release with goreleaser
|
||||
cmds:
|
||||
- goreleaser release --clean
|
||||
|
||||
dorelease:
|
||||
desc: Do all release steps
|
||||
prompt: Create new release {{.RELEASE}} from {{.COMMIT}}@{{.BRANCH}}?
|
||||
preconditions:
|
||||
- sh: test "{{.BRANCH}}" == "main"
|
||||
cmds:
|
||||
- git tag {{.RELEASE}}
|
||||
- git push
|
||||
- git push origin tag {{.RELEASE}}
|
||||
- goreleaser release --clean
|
||||
- task: release:tag
|
||||
- task: release:goreleaser
|
||||
|
||||
snapshot:
|
||||
desc: Create a local snapshot release
|
||||
|
|
Loading…
Reference in a new issue