fix tag filtering logic
The check for missing tags was continuing the inner loop instead of the loop over deliverables. Change-Id: I8219fa0262a00c402ae1e479260491900d22218e Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
@@ -194,9 +194,14 @@ def main():
|
|||||||
continue
|
continue
|
||||||
if args.tag:
|
if args.tag:
|
||||||
tags = deliv.tags
|
tags = deliv.tags
|
||||||
|
ignore = False
|
||||||
for t in args.tag:
|
for t in args.tag:
|
||||||
if t not in tags:
|
if t not in tags:
|
||||||
|
ignore = True
|
||||||
|
break
|
||||||
|
if ignore:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
tag_str = '(' + ', '.join(deliv.tags) + ')'
|
tag_str = '(' + ', '.join(deliv.tags) + ')'
|
||||||
|
|
||||||
if args.missing_final and deliv.latest_release:
|
if args.missing_final and deliv.latest_release:
|
||||||
|
|||||||
Reference in New Issue
Block a user