only branch cycle-with-intermediary libraries automatically

At the end of Rocky we branched python-tripleoclient before the team
was ready because the script to prepare the list of branches did not
take the release model into account. Fix that.

Change-Id: I34c99f0d5c4a39f17b4de68558fc18fc10a7a706
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann
2018-08-08 11:39:52 -04:00
parent caceb0332b
commit 5fc52e3580

View File

@@ -114,6 +114,10 @@ def main():
deliverable_data = yamlutils.loads(f.read())
if deliverable_data['type'] not in args.types:
continue
if deliverable_data['release-model'] != 'cycle-with-intermediary':
print('WARNING {} has release model {}, skipping'.format(
deliverable_name, deliverable_data['release-model']))
continue
verbose('\n{}'.format(filename))
releases = deliverable_data.get('releases')
if not releases: