Resolve warnings in release_mixin_service

This commit is contained in:
bom 2023-05-19 12:25:21 +02:00
parent 807739ff35
commit de1bd0570b

View file

@ -1,6 +1,6 @@
from typing import Optional, List
from ..infrastructure import GitApi, BuildFileRepository
from ..domain import Version, Release
from ..domain import Version, Release, ReleaseType
class ReleaseService:
@ -54,7 +54,7 @@ class ReleaseService:
):
for id in build_file_ids:
build_file = self.build_file_repository.get(id)
build_file.set_version(release_version)
build_file.set_version(version)
self.build_file_repository.write(build_file)
self.git_api.add_file(build_file.file_path)
self.git_api.commit(message)