Fix naming and arguments in release_mixin
This commit is contained in:
parent
a109759c68
commit
b93772d3a1
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue