have list-deliverables support past milestones
Don't assume the missing milestone or RC is supposed to be the most recent tag. Change-Id: Ib446426e263ccf2dbd0cb92b2819162319acb8f7 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
@@ -194,7 +194,13 @@ def main():
|
||||
continue
|
||||
if args.unreleased and (deliv.is_released or not deliv.is_releasable):
|
||||
continue
|
||||
if version_ending and deliv.is_released and deliv.latest_release.endswith(version_ending):
|
||||
if version_ending and deliv.is_released:
|
||||
found = False
|
||||
for release in deliv.releases:
|
||||
if release.version.endswith(version_ending):
|
||||
found = True
|
||||
break
|
||||
if found:
|
||||
continue
|
||||
if args.missing_rc and deliv.is_released and 'rc' in deliv.latest_release:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user