now this can be a docker container and version a different repository that is on same file system

This commit is contained in:
Michael Gimbel
2017-02-23 22:11:55 +00:00
parent 867b4d7e63
commit c5a4c697f3
5 changed files with 47 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ from ConfigParser import ConfigParser
def get_version():
config = ConfigParser()
config.read('.bumpversion.cfg')
config.read('/application_repo/.bumpversion.cfg')
version = config.get('bumpversion', 'current_version')
return version