From e614a5301232011fb14ccd2f2c5188a101d47042 Mon Sep 17 00:00:00 2001 From: csjones Date: Sun, 19 Oct 2025 19:42:21 -0700 Subject: [PATCH] fix: preserve executable permissions before artifact bundle creation --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 400f3b1..25b3699 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -130,6 +130,11 @@ jobs: cp downloaded_artifacts/subtree_linux/subtree_linux "${BUNDLE_DIR}/linux-x86_64/subtree" cp downloaded_artifacts/subtree_linux_aarch64/subtree_linux_aarch64 "${BUNDLE_DIR}/linux-arm64/subtree" + # Make binaries executable (critical for Swift PM to run them) + chmod +x "${BUNDLE_DIR}/macos/subtree" + chmod +x "${BUNDLE_DIR}/linux-x86_64/subtree" + chmod +x "${BUNDLE_DIR}/linux-arm64/subtree" + # Create artifact bundle manifest cat > "${BUNDLE_DIR}/info.json" << EOF {