-
-
Notifications
You must be signed in to change notification settings - Fork 400
[skip changelog] Update notarization job, now usable with p12 cert format #1062
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Umberto!
I tried it out in my fork with my own Apple Developer ID certificate and it works just fine.
This will also need to be done to the "nightly" workflow:
https://github.com/arduino/arduino-cli/blob/master/.github/workflows/nightly.yaml
Co-authored-by: per1234 <accounts@perglass.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check my comments in the code!
(Excellent work BTW!)
with homebrew tap is not possible to install an exact version of an app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
per@Pers-iMac Downloads % spctl -a -vvv -t install "dist/arduino-cli_43.0.0_macOS_64bit/arduino-cli"
dist/arduino-cli_43.0.0_macOS_64bit/arduino-cli: accepted
source=Notarized Developer ID
origin=Developer ID Application: Per Tillisch (9M5NQMNWBJ)
per@Pers-iMac Downloads % spctl -a -vvv -t install "dist (1)/arduino-cli_0.13.0_macOS_64bit/arduino-cli"
dist (1)/arduino-cli_0.13.0_macOS_64bit/arduino-cli: accepted
source=Notarized Developer ID
origin=Developer ID Application: ARDUINO SA (7KT7ZWMCJT)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
New secrets configured, let's merge!
Please check if the PR fulfills these requirements
before creating one)
our contributing guidelines
update the CI
The CI now uses a
.p12
certificates and uses an action to handle keychain unlocking. Other improvements have been added.Now gon is installed through homebrew.
The
Notarize binary, re-package it and update checksum
step has been split in two different steps: one simple step to notarize and sign and the other one to change permission, calculate the checksum and repackage the binaryno
See how to contribute
It's necessary to add
INSTALLER_CERT_MAC_P12
andINSTALLER_CERT_MAC_PASSWORD
as secrets