only run dorelase
in main
branch
This commit is contained in:
parent
9ffe12bd6d
commit
62b7190fcd
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue