only run dorelase in main branch

This commit is contained in:
Sebastian Mark 2024-11-09 09:59:51 +01:00
parent 9ffe12bd6d
commit 62b7190fcd

View file

@ -35,6 +35,8 @@ tasks:
dorelease:
desc: Do all release steps
prompt: Create new release v{{.RELEASE}} from {{.COMMIT}}@{{.BRANCH}}?
preconditions:
- sh: test "{{.BRANCH}}" == "main"
cmds:
- task: release:file
- task: release:tag