Skip to content
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

Allow for local macOS signed builds #4582

Merged
merged 77 commits into from
Apr 29, 2023
Merged

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Apr 29, 2023

Description

Split up the CreateDMG.sh macos script to two scripts:
MacDeploy.sh - this calls macdeployqt on the built app
CreateDMG.sh - this calls dmgbuild on the built & deployed app

Add a SKIP_VENV environment variable to CreateDMG.sh, this can be used to use the system version of dmgbuild
Add the ability to codesign the created dmg and its contents using the MACOS_CODESIGN_CERTIFICATE environment variable
Moved the output name logic from CreateDMG to the OUTPUT_DMG_PATH environment variable

The nightly release create job also doesn't remove artifacts now, it only replaces artifacts that are conflicting.
The downside to this is that if we change the name of an artifact, we need to manually delete the old artifact.
The upside to this is that we can now upload artifacts that are not handled in the same CI job.

@pajlada
Copy link
Member Author

pajlada commented Apr 29, 2023

looks good to me
image

@pajlada pajlada merged commit 4c23f4b into master Apr 29, 2023
@pajlada pajlada deleted the feat/local-chatterino-macos-builds branch April 29, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant