Implement creation of bump version
This commit is contained in:
parent
eb998cfdbb
commit
fa7e10d3ce
1 changed files with 7 additions and 3 deletions
10
services.py
10
services.py
|
@ -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())
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue