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,8 +194,14 @@ def main():
|
|||||||
continue
|
continue
|
||||||
if args.unreleased and (deliv.is_released or not deliv.is_releasable):
|
if args.unreleased and (deliv.is_released or not deliv.is_releasable):
|
||||||
continue
|
continue
|
||||||
if version_ending and deliv.is_released and deliv.latest_release.endswith(version_ending):
|
if version_ending and deliv.is_released:
|
||||||
continue
|
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:
|
if args.missing_rc and deliv.is_released and 'rc' in deliv.latest_release:
|
||||||
continue
|
continue
|
||||||
if args.tag:
|
if args.tag:
|
||||||
|
|||||||
Reference in New Issue
Block a user