fixes for release-mixin
This commit is contained in:
parent
31178e940d
commit
e51d2ec2a4
2 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ class ReleaseService:
|
|||
self, version: Version, build_file_ids: List[str], message: str
|
||||
):
|
||||
for id in build_file_ids:
|
||||
build_file = self.build_file_repository.get(id)
|
||||
build_file = self.build_file_repository.get(Path(id))
|
||||
build_file.set_version(version)
|
||||
self.build_file_repository.write(build_file)
|
||||
self.git_api.add_file(build_file.file_path)
|
||||
|
|
|
@ -13,11 +13,11 @@ class ReleaseMixin(DevopsBuild):
|
|||
raise ValueError(f"ReleaseMixin requires MixinType.RELEASE")
|
||||
|
||||
def prepare_release(self):
|
||||
devops = self.repo.get_devops(self.project)
|
||||
devops = self.devops_repo.get_devops(self.project)
|
||||
release = devops.mixins[MixinType.RELEASE]
|
||||
self.release_service.prepare_release(release)
|
||||
|
||||
def tag_bump_and_push_release(self):
|
||||
devops = self.repo.get_devops(self.project)
|
||||
devops = self.devops_repo.get_devops(self.project)
|
||||
release = devops.mixins[MixinType.RELEASE]
|
||||
self.release_service.tag_bump_and_push_release(release)
|
||||
|
|
Loading…
Reference in a new issue