-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add a Python script to codesign macOS binaries #84
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5f95d07
to
af69af0
Compare
af69af0
to
d5c79ca
Compare
- Set GitHub Actions "output" for path to dmg artifact. - Emit information about the GitHub Actions build in CI. - Add more docstring comments. - Tweak CLI args to accept release name as a leading positional argument. - Ensure at least one binary arugment is passed to the script. - Ensure unexpected arguments result in the script exiting with an error. - Ensure that trailing `--binary` or `--resource` flags are treated as errors. - Make script more friendly for local development by building and outputing dmgs to a git ignored `dist` directory. - Unnest dmg codesign step from an existing log group.
d5c79ca
to
f00e6e4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-build
Area: CI build infrastructure.
A-codesigning
Area: Code signing, GPG signatures.
T-aarch64-apple-darwin
Target: ARM64 macOS (11.0+, Big Sur+)
T-x86_64-apple-darwin
Target: 64-bit macOS (10.7+, Lion+)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a Python script to drive the Apple codesigning and notarization process. This is a set of automation that will allow addressing #18.
The script performs the following steps:
/usr/bin/codesign
./usr/bin/codesign
.A minimal set of python devtools are added to a
requirements.in
. A Python CI lint and format step has been added. @dependabot is set up for pip.