Use version from config file as default
This commit is contained in:
parent
a9bd3b3cf9
commit
95de1360fd
@ -20,7 +20,7 @@ def get_tag_version():
|
|||||||
logger.debug("Tag expression: " + str(tag_expression))
|
logger.debug("Tag expression: " + str(tag_expression))
|
||||||
|
|
||||||
# Default version is `0.0.0` or what is found in
|
# Default version is `0.0.0` or what is found in
|
||||||
version = get_file_version()
|
version = get_file_version(config)
|
||||||
|
|
||||||
# If a version is found in tags, use that the lastest tagged version
|
# If a version is found in tags, use that the lastest tagged version
|
||||||
tagged_versions = subprocess.Popen(['git','tag','--sort=taggerdate', '-l',tag_expression],
|
tagged_versions = subprocess.Popen(['git','tag','--sort=taggerdate', '-l',tag_expression],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user