diff --git a/build.py b/build.py index 66932a2..daa0730 100755 --- a/build.py +++ b/build.py @@ -118,7 +118,9 @@ class Tags: version = api_get_source_package_version(branch, package_name) if image.version_template is not None: - version = Template(image.version_template).render(version=version) + version = ( + Template(image.version_template).render(version=version).strip() + ) tags = [version] else: