From 7db2c470672be4cd476610334cac825f65083f44 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 10 Apr 2019 17:51:41 +0100 Subject: [PATCH] Version check: update using project name or tarball name The current code worked only if the project was using the project_name in kolla/common/config.py, rather than the tarball_base name. This is only true on master - on stable branches we may switch to use the tarball_base name, so the regex won't match. Change-Id: I839649e6ef662ae3ff320edb3106da818956d26d --- tools/version-check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/version-check.py b/tools/version-check.py index c49eec2755..7dfb870d89 100755 --- a/tools/version-check.py +++ b/tools/version-check.py @@ -102,6 +102,8 @@ def load_all_info(openstack_release): projects[project_name] = {'latest_version': latest_version, 'tarball_base': tarball_base} + projects[tarball_base] = {'latest_version': latest_version, + 'tarball_base': tarball_base} return projects