Skip to content

Commit 66356da

Browse files
committed
fix(ci): skip non-SPM patches in resolve_and_patch.sh instead of failing
WeTextProcessing is built via cmake/submodule, not SPM. Its patch is applied directly in run.sh. The script was failing on CI because it expected all patches/ subdirectories to have matching SPM checkouts.
1 parent 365a609 commit 66356da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Scripts/resolve_and_patch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ for pkg_dir in "$PROJECT_DIR"/patches/*/; do
2424
checkout_dir="$CHECKOUTS_DIR/$pkg_name"
2525

2626
if [[ ! -d "$checkout_dir" ]]; then
27-
echo "$pkg_name checkout not found at $checkout_dir after resolve"
28-
exit 1
27+
echo "⏭️ Skipping $pkg_name (not an SPM checkout)"
28+
continue
2929
fi
3030

3131
echo "Applying patches to $pkg_name..."

0 commit comments

Comments
 (0)