Skip to content

Commit 70f4f9f

Browse files
committed
fix: re-sign plugin bundles after stripping in release build
1 parent efb9383 commit 70f4f9f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

scripts/build-release.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,14 @@ build_for_arch() {
500500
codesign -fs "$SIGN_IDENTITY" --force --options runtime --timestamp "$dylib"
501501
done
502502

503+
# Sign plugin bundles (stripped binaries need re-signing)
504+
if [ -d "$PLUGINS_DIR" ]; then
505+
for plugin in "$PLUGINS_DIR"/*.tableplugin; do
506+
[ -d "$plugin" ] || continue
507+
codesign -fs "$SIGN_IDENTITY" --force --options runtime --timestamp "$plugin"
508+
done
509+
fi
510+
503511
# Sign the app bundle last
504512
codesign -fs "$SIGN_IDENTITY" --force --options runtime --timestamp "$BUILD_DIR/$OUTPUT_NAME"
505513
echo "✅ Code signing complete"

0 commit comments

Comments
 (0)