Skip to content

Commit b7a1f52

Browse files
authored
fix: preserve executable permissions before artifact bundle creation (#3)
1 parent 73a9c02 commit b7a1f52

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ jobs:
130130
cp downloaded_artifacts/subtree_linux/subtree_linux "${BUNDLE_DIR}/linux-x86_64/subtree"
131131
cp downloaded_artifacts/subtree_linux_aarch64/subtree_linux_aarch64 "${BUNDLE_DIR}/linux-arm64/subtree"
132132
133+
# Make binaries executable (critical for Swift PM to run them)
134+
chmod +x "${BUNDLE_DIR}/macos/subtree"
135+
chmod +x "${BUNDLE_DIR}/linux-x86_64/subtree"
136+
chmod +x "${BUNDLE_DIR}/linux-arm64/subtree"
137+
133138
# Create artifact bundle manifest
134139
cat > "${BUNDLE_DIR}/info.json" << EOF
135140
{

0 commit comments

Comments
 (0)