Publish completed packages when a peer build fails

This commit is contained in:
Ryan Hughes committed 2026-09-14 02:30:11 -04:00
1 parent 3626590e94
commit d96b950901
7 files changed
+249 -6

No files matched your search

+5
View File
@@ -411,6 +411,11 @@ build_package() {
ln -sf omarchy-build.db.tar.zst omarchy-build.db || return 1
fi
# A release may publish successful builds even when a peer fails. Record
# outputs only after this package's entire split build has completed.
mkdir -p "$BUILD_PLAN_DIR/artifacts" || return 1
printf '%s\n' "${new_pkgs[@]}" > "$BUILD_PLAN_DIR/artifacts/$pkg" || return 1
echo " Successfully built $pkg"
return 0
else