Fix postfix generation to not include the 0.

This commit is contained in:
Matthieu Gautier 2020-05-25 12:20:53 +02:00
parent 925943a5ee
commit 22da0f3b6d

View file

@ -254,7 +254,7 @@ def make_deps_archive(target=None, name=None, full=False):
def get_postfix(project):
postfix = main_project_versions[project]
extra = release_versions.get(project)
if extra is not None:
if extra:
postfix = "{}-{}".format(postfix, extra)
return postfix