|
|
@ -26,10 +26,14 @@ class InitReleaseService():
|
|
|
|
release_version = Version.create_release_version(version_list, release_type)
|
|
|
|
release_version = Version.create_release_version(version_list, release_type)
|
|
|
|
self.version_repo.write_file(release_version.get_version_string())
|
|
|
|
self.version_repo.write_file(release_version.get_version_string())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def create_bump_version(self):
|
|
|
|
def create_bump_version(self):
|
|
|
|
bump_version = create_bump_version(version_repo.version_list, release_type)
|
|
|
|
if self.version_repo == None:
|
|
|
|
pass
|
|
|
|
raise Exception('VersionRepo was not created. Did you run create_lease_version()?')
|
|
|
|
|
|
|
|
version_list = self.get_version_list()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bump_version = Version.create_bump_version(version_list, ReleaseType.SNAPSHOT)
|
|
|
|
|
|
|
|
self.version_repo.write_file(bump_version.get_version_string())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|