-
Notifications
You must be signed in to change notification settings - Fork 7
feat(CLI): Add macOS binary signing using Apple Distribution certificate [STRINGS-1575] #829
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
base: main
Are you sure you want to change the base?
Conversation
| echo "$CERTIFICATE_BASE64" | base64 --decode -o "$CERTIFICATE_PATH" | ||
|
|
||
| # Create temporary keychain | ||
| security create-keychain -p "$KEYCHAIN_PASSWORD" "$KEYCHAIN_PATH" |
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.
Do you need to run this inside a MacOS container to have the commands available?
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.
Very good and important point 😬 I assumed we were already doing it but confused it with the IOS SDK workflow.
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.
I'll also need to fix the dist directory though, as we're signing them in a separate action now.
|
@bikmazefe is there a way to try this out before merging? |
@jablan Yeah that's what I'm trying to find out currently. It seems like we can use the |
jablan
left a comment
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.
I'm up for trying it out in the repo, I guess the worst case it will fail so you'd have another fix(CLI) PR, or two.
Add macOS binary signing using Apple Distribution certificate.