fix(macos): codesign dmg before notarize

This commit is contained in:
Peter Steinberger
2026-01-15 11:21:15 +00:00
parent 0a5b1fbcd1
commit f25fe032c4

View File

@@ -45,5 +45,9 @@ echo "💿 DMG: $DMG"
"$ROOT_DIR/scripts/create-dmg.sh" "$APP" "$DMG"
if [[ "$NOTARIZE" == "1" ]]; then
if [[ -n "${SIGN_IDENTITY:-}" ]]; then
echo "🔏 Signing DMG: $DMG"
/usr/bin/codesign --force --sign "$SIGN_IDENTITY" --timestamp "$DMG"
fi
"$ROOT_DIR/scripts/notarize-mac-artifact.sh" "$DMG"
fi