Skip to content

Commit 01b6a03

Browse files
timiclaude
authored andcommitted
chore: add DMG verification before notarization
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b106720 commit 01b6a03

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,11 @@ jobs:
296296
DMG_PATH=$(ls ./lumis/apps/web/src-tauri/target/release/bundle/dmg/Lumis*.dmg)
297297
echo "Notarizing: $DMG_PATH"
298298
299+
# Verify DMG exists and check its signature
300+
echo "Verifying DMG..."
301+
codesign -dv "$DMG_PATH" 2>&1 | head -5
302+
xcrun stapler validate "$DMG_PATH" 2>&1 || echo "Staple check: $?"
303+
299304
# Submit without waiting
300305
OUTPUT=$(xcrun notarytool submit "$DMG_PATH" \
301306
--apple-id "${{ secrets.APPLE_ID }}" \

0 commit comments

Comments
 (0)