Merge release tasks into one
This commit is contained in:
parent
c93875f491
commit
e927ec9fcf
2 changed files with 2 additions and 3 deletions
|
@ -186,7 +186,7 @@ def destroy(project):
|
|||
pyb dev publish upload
|
||||
pip3 install --upgrade ddadevops --pre
|
||||
|
||||
pyb [patch|minor|major] prepare_release tag_bump_and_push_release
|
||||
pyb [patch|minor|major] release
|
||||
pip3 install --upgrade ddadevops
|
||||
```
|
||||
|
||||
|
|
3
build.py
3
build.py
|
@ -168,7 +168,7 @@ def nothing(project):
|
|||
|
||||
|
||||
@task
|
||||
def prepare_release(project):
|
||||
def release(project):
|
||||
build = get_devops_build(project)
|
||||
build.prepare_release()
|
||||
|
||||
|
@ -178,7 +178,6 @@ def tag_bump_and_push_release(project):
|
|||
build = get_devops_build(project)
|
||||
build.tag_bump_and_push_release()
|
||||
|
||||
|
||||
def build(project, release_type):
|
||||
build = get_devops_build(project)
|
||||
build.update_release_type(release_type)
|
||||
|
|
Loading…
Reference in a new issue