allow list-deliverables to support multiple types

Change-Id: Ic62a882dfda9b4f6252402bb68e6d508ff54d4bd
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann
2018-01-24 14:10:42 -05:00
parent 0e42afb0a3
commit 68e91e3369

View File

@@ -80,6 +80,7 @@ def main():
)
parser.add_argument(
'--type',
action='append',
help='deliverable type, such as "library" or "service"',
)
parser.add_argument(
@@ -187,7 +188,7 @@ def main():
continue
if args.cycle_based and not deliv.is_cycle_based:
continue
if args.type and deliv.type != args.type:
if args.type and deliv.type not in args.type:
continue
if args.no_stable_branch:
if deliv.get_branch_location('stable/' + series) is not None: