From 67186448a2143e34a47f8c358e68d3d846eb4a12 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sat, 28 Mar 2026 08:43:41 +0100 Subject: [PATCH] fix: verify and add manifests to split packs --- scripts/generate_pack.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/generate_pack.py b/scripts/generate_pack.py index 31383196..3207b6ae 100644 --- a/scripts/generate_pack.py +++ b/scripts/generate_pack.py @@ -1497,6 +1497,13 @@ def main(): skip_conf = bool(system_filter or args.split) all_ok = verify_and_finalize_packs(args.output_dir, db, skip_conformance=skip_conf) + # Also verify split subdirectories + if args.split: + for entry in os.listdir(args.output_dir): + sub = os.path.join(args.output_dir, entry) + if os.path.isdir(sub) and entry.endswith("_Split"): + ok = verify_and_finalize_packs(sub, db, skip_conformance=True) + all_ok = all_ok and ok if not all_ok: print("WARNING: some packs have verification errors") sys.exit(1)