Skip to content

Only trigger notarization hook on Mac build target#239

Merged
gwleuverink merged 1 commit into
mainfrom
fix/disable-notarization-on-non-mac-build-targets
Jul 30, 2025
Merged

Only trigger notarization hook on Mac build target#239
gwleuverink merged 1 commit into
mainfrom
fix/disable-notarization-on-non-mac-build-targets

Conversation

@gwleuverink
Copy link
Copy Markdown
Contributor

@gwleuverink gwleuverink commented Jul 29, 2025

The after sign hook was only checking if the process was running on a Mac, but didn't take the build target into account.

This pull request adds a small guard clause to the notarize.js file to ensure notarization only occurs for macOS builds.

Fixes: https://github.com/NativePHP/laravel/issues/653

@gwleuverink gwleuverink requested a review from a team July 29, 2025 09:33
@gwleuverink gwleuverink self-assigned this Jul 29, 2025
@gwleuverink gwleuverink added the bug Something isn't working label Jul 29, 2025
@gwleuverink gwleuverink changed the title only notarize mac builds Only trigger notarization hook on Mac build target Jul 29, 2025
@gwleuverink gwleuverink merged commit e07e23b into main Jul 30, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non-mac builds on mac attempt to notarize

3 participants