Merge release tasks into one

This commit is contained in:
bom 2023-07-13 13:20:57 +02:00
parent ac06c71a1a
commit b7acaab2a9
2 changed files with 2 additions and 7 deletions

View file

@ -186,7 +186,7 @@ def destroy(project):
pyb dev publish upload pyb dev publish upload
pip3 install --upgrade ddadevops --pre 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 pip3 install --upgrade ddadevops
``` ```

View file

@ -130,16 +130,11 @@ def nothing(project):
pass pass
@task @task
def prepare_release(project): def release(project):
build = get_devops_build(project) build = get_devops_build(project)
build.prepare_release() build.prepare_release()
@task
def tag_bump_and_push_release(project):
build = get_devops_build(project)
build.tag_bump_and_push_release() build.tag_bump_and_push_release()
def build(project, release_type): def build(project, release_type):
build = get_devops_build(project) build = get_devops_build(project)
build.update_release_type(release_type) build.update_release_type(release_type)