Browse Source

Ignore EM releases in version-check.py

We don't want to use Extended Maintenance (EM) tags, since these are
just markers of a point in time and not available as released artifacts.

Change-Id: If552f7ffc22d4b25769c14c083179eecf5a93158
(cherry picked from commit f528ad8102)
changes/73/710073/1
Mark Goddard 2 years ago
committed by Marcin Juszkiewicz
parent
commit
aabd2ac490
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tools/version-check.py

+ 4
- 0
tools/version-check.py View File

@ -87,6 +87,10 @@ def load_all_info(openstack_release):
if 'releases' in info and len(info['releases']) > 0:
latest_release = info['releases'][-1]
latest_version = latest_release['version']
if latest_version.endswith('-em') and len(info['releases']) > 1:
# Ignore Extended Maintenance (EM) releases, e.g. pike-em.
latest_release = info['releases'][-2]
latest_version = latest_release['version']
for project in latest_release['projects']:
project_name = project['repo'].split('/')[-1]


Loading…
Cancel
Save