From 05fd084c5f1e3a3e09e4b667b4fa01789fb847a8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 03:48:49 +0000 Subject: [PATCH] Exclude debug vcpkg libs from packaging Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b85735bb3..78471c999 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -120,9 +120,9 @@ jobs: for vcpkg_dir in ../vcpkg_installed ../../vcpkg_installed; do if [ -d "$vcpkg_dir" ]; then - lib_count="$(find "$vcpkg_dir" -path "*/debug/*" -prune -o -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) -print | wc -l)" + lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print | wc -l)" if [ "$lib_count" -gt 0 ]; then - find "$vcpkg_dir" -path "*/debug/*" -prune -o -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) -print0 | \ + find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | \ while IFS= read -r -d '' lib; do zip_add_unique "$lib" done