Fix naming and arguments in release_mixin

This commit is contained in:
bom 2023-02-23 16:31:33 +01:00
parent a109759c68
commit b93772d3a1

View file

@ -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)