include tagless deliverables in init-series

Do not ignore a deliverable if there is a branch created. This ensures
that the tagless deliverables like devstack and grenade.

Change-Id: I7174070a5bda0845fc0c94a8ecc33ba7ab00eeb2
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-08-11 16:58:59 -04:00
parent f835abc8d0
commit 87e0be543f

View File

@ -57,7 +57,7 @@ def main():
for team, series, name, data in old_deliverables:
if name in new_deliverables:
continue
if not data.get('releases'):
if not data.get('releases') and not data.get('branches'):
# There were no releases for the deliverable in the
# previous series, stop carrying it over.
print('{} skipped (no releases in {})'.format(name, args.old_series))