From b7acaab2a9e94c4394d122aa917cedad7371a754 Mon Sep 17 00:00:00 2001 From: bom Date: Thu, 13 Jul 2023 13:20:57 +0200 Subject: [PATCH] Merge release tasks into one --- README.md | 2 +- build.py | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index accbf00..c3de758 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/build.py b/build.py index eb989a9..a6bd26b 100644 --- a/build.py +++ b/build.py @@ -130,16 +130,11 @@ def nothing(project): pass @task -def prepare_release(project): +def release(project): build = get_devops_build(project) build.prepare_release() - -@task -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)