Add import, remove return
This commit is contained in:
parent
1e2593e358
commit
d22dbbf050
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,7 @@ from version import Version
|
||||||
from version_repository import VersionRepository
|
from version_repository import VersionRepository
|
||||||
from services import InitReleaseService, PrepareReleaseService, TagAndPushReleaseService
|
from services import InitReleaseService, PrepareReleaseService, TagAndPushReleaseService
|
||||||
from git_repository import GitRepository
|
from git_repository import GitRepository
|
||||||
|
from release_type import ReleaseType
|
||||||
|
|
||||||
def create_release_mixin_config(config_file, main_branch) -> dict:
|
def create_release_mixin_config(config_file, main_branch) -> dict:
|
||||||
config = {}
|
config = {}
|
||||||
|
@ -35,7 +36,6 @@ class ReleaseMixin(DevopsBuild):
|
||||||
init_service = InitReleaseService(self.version_repo)
|
init_service = InitReleaseService(self.version_repo)
|
||||||
self.release_version = init_service.create_release_version()
|
self.release_version = init_service.create_release_version()
|
||||||
self.bump_version = self.release_version.create_bump_version()
|
self.bump_version = self.release_version.create_bump_version()
|
||||||
return self.release_version, self.bump_version
|
|
||||||
|
|
||||||
def prepare(self, version):
|
def prepare(self, version):
|
||||||
git_repository = GitRepository()
|
git_repository = GitRepository()
|
||||||
|
|
Loading…
Reference in a new issue