UPX stanza is run after build hooks. That breaks code signing. #6332
levinalex-samedi
started this conversation in
Ideas, Issue Triage, and General discussions
Replies: 1 comment 3 replies
-
|
The thing is that signing from the build hook is probably not the right place... it should be on the last step possible, when you won't change it anymore. maybe you could sign in the new msi before hook? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We're using pust-build hooks to codesign windows binaries we build with goreleaser (discussed here)
When we also enable upx packing (https://goreleaser.com/customization/upx/) what breaks the code signing because UPX is run after the
postbuild hooks.We can work around that by calling UPX from a hook again. But maybe the UPX action should run before the hooks?
Beta Was this translation helpful? Give feedback.
All reactions