fix: error if build selectors are empty
This commit is contained in:
committed by
Henry Schreiner
parent
27a0053386
commit
61b94434b2
@@ -195,9 +195,6 @@ def main() -> None:
|
||||
archs = Architecture.parse_config(archs_config_str, platform=platform)
|
||||
|
||||
identifiers = get_build_identifiers(platform, build_selector, archs)
|
||||
if not identifiers:
|
||||
print("ERROR: No build identifiers selected!")
|
||||
sys.exit(3)
|
||||
|
||||
if args.print_build_identifiers:
|
||||
for identifier in identifiers:
|
||||
@@ -269,6 +266,10 @@ def main() -> None:
|
||||
else:
|
||||
assert_never(platform)
|
||||
|
||||
if not identifiers:
|
||||
print("ERROR: No build identifiers selected!")
|
||||
sys.exit(3)
|
||||
|
||||
|
||||
def detect_obsolete_options() -> None:
|
||||
# Check the old 'MANYLINUX1_*_IMAGE' options
|
||||
|
||||
Reference in New Issue
Block a user