Resolve warnings in release_mixin_service
This commit is contained in:
parent
807739ff35
commit
de1bd0570b
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue