From b93772d3a1d7df1b9ee660ee2f7f6629f39f30e4 Mon Sep 17 00:00:00 2001 From: bom Date: Thu, 23 Feb 2023 16:31:33 +0100 Subject: [PATCH] Fix naming and arguments in release_mixin --- release_mixin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release_mixin.py b/release_mixin.py index 44adc92..13b174a 100644 --- a/release_mixin.py +++ b/release_mixin.py @@ -41,7 +41,7 @@ class ReleaseMixin(DevopsBuild): self.bump_version = self.release_version.create_bump_version() def prepare_release(self): - prepare_release_service = PrepareReleaseService(self.version_repo, self.config_file, self.main_branch) + prepare_release_service = PrepareReleaseService(self.version_repo, self.git_repo, self.config_file, self.main_branch) if self.release_version is None or self.bump_version is None: raise Exception('prepare_release was called before init_release') @@ -49,6 +49,6 @@ class ReleaseMixin(DevopsBuild): prepare_release_service.write_and_commit_release(self.release_version) prepare_release_service.write_and_commit_bump(self.bump_version) - def tag_and_push(self): + def tag_and_push_release(self): tag_and_push_release_service = TagAndPushReleaseService(self.git_repo) tag_and_push_release_service.tag_and_push_release(self.release_version)