fix(release): skip upx compression for windows arm64 binaries
UPX 5.0.0 does not support win64/arm64, causing CantPackException and failing the release build.
This commit is contained in:
parent
4325eae4d4
commit
edae87f2a0
|
|
@ -1016,7 +1016,8 @@ func (Release) Compress(ctx context.Context) error {
|
|||
if strings.Contains(info.Name(), "mips") ||
|
||||
strings.Contains(info.Name(), "s390x") ||
|
||||
strings.Contains(info.Name(), "riscv64") ||
|
||||
strings.Contains(info.Name(), "darwin") {
|
||||
strings.Contains(info.Name(), "darwin") ||
|
||||
(strings.Contains(info.Name(), "windows") && strings.Contains(info.Name(), "arm64")) {
|
||||
// not supported by upx
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue