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