From e927ec9fcf4802823b31a67c5f81c60f2e18780e 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 | 3 +-- 2 files changed, 2 insertions(+), 3 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 2a8ce58..c7b9bc9 100644 --- a/build.py +++ b/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)