Skip to content
Snippets Groups Projects
Unverified Commit 5c421958 authored by Clayton Craft's avatar Clayton Craft :speech_balloon: Committed by Oliver Smith
Browse files

ci: build_changed_aports: Don't exit prematurely if pkg list is empty (MR 5684)

This should check for packages in other repos that need to be built,
even if the main repo pkg list is empty.

fixes !5576
parent 8fad005d
No related branches found
No related tags found
No related merge requests found
......@@ -101,11 +101,10 @@ if __name__ == "__main__":
# No packages: skip build
if len(packages) == 0:
print(f"no packages changed, which can be built for {arch}")
sys.exit(0)
# Build packages
print(f"building in strict mode for {arch}: {', '.join(packages)}")
build_strict(packages, arch)
else:
# Build packages
print(f"building in strict mode for {arch}: {', '.join(packages)}")
build_strict(packages, arch)
# Build packages in extra-repos/systemd
# FIXME: this should probably be more generic, if other repos are added later?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment