only run dorelase
in main
branch
This commit is contained in:
parent
02abad82e8
commit
8c4ba60095
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ tasks:
|
||||||
dorelease:
|
dorelease:
|
||||||
desc: Do all release steps
|
desc: Do all release steps
|
||||||
prompt: Create new release v{{.RELEASE}} from {{.COMMIT}}@{{.BRANCH}}?
|
prompt: Create new release v{{.RELEASE}} from {{.COMMIT}}@{{.BRANCH}}?
|
||||||
|
preconditions:
|
||||||
|
- sh: test "{{.BRANCH}}" == "main"
|
||||||
cmds:
|
cmds:
|
||||||
- task: release:file
|
- task: release:file
|
||||||
- task: release:tag
|
- task: release:tag
|
||||||
|
|
Loading…
Reference in a new issue