Skip to content

latest.yml overwritten when building multiple architectures #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

gwleuverink
Copy link
Contributor

This PR addresses two issues:

  1. After the latest script update from publish:mac-arm to publish:mac-arm64 the change was not reflected in the publish:mac script
  2. When publishing for all mac architectures simultaneously it runs the publish:mac-arm & publish:mac-arm64 in sequence. This caused the latest-mac.yml file to be overwritten on the second run.

This second point prevents the auto-update feature to detect new releases. I've changed the publish:mac script to build for both architectures in a single process. This fixes the issue.

Check out this issue on the electron-builder repo for more info.

Arguably the same should be done for the Windows & Linux build commands. Will add that if you are okay with this change @simonhamp

Copy link
Member

@simonhamp simonhamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful!

@simonhamp simonhamp merged commit 7f7013e into NativePHP:main Dec 18, 2024
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants