-
Notifications
You must be signed in to change notification settings - Fork 719
Fix signing for new release build pipeline #1629
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.
Pull Request Overview
This change implements a workaround for a bug in the new signing tool that doesn't respect the DstPath
parameter. The workaround copies input files to temporary paths when outputs have different names, and includes comprehensive verification logic to ensure signing actually occurred.
Key changes:
- Added a workaround that copies files to temporary paths before signing when
DstPath
differs fromSrcPath
- Implemented pre/post-signing hash verification to detect signing failures
- Added detailed logging and error reporting for the signing process
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
I have reverted the pipeline changes for now; there is more broken with the new tool. |
Actually, the error is mine. I put MacAppName in the wrong object. |
This can't be merged until the pipeline is changed back again, so keeping this as a draft until then. |
The new signing tool doesn't respect
DstPath
, which is a bug. But, workaround it for now here by copying the input to a temp path when the outputs have different names.Part of this change is extra debugging code that verifies that signing actually happened. Worth leaving that in.