Only compress what upx is able to compress

This commit is contained in:
kolaente 2020-09-02 21:45:42 +02:00
parent 5534b163cb
commit 5fe93715d3
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -469,8 +469,8 @@ func (Release) Compress(ctx context.Context) error {
if !strings.Contains(info.Name(), Executable) {
return nil
}
// No mips for you today
if strings.Contains(info.Name(), "mips") {
// No mips or s390x for you today
if strings.Contains(info.Name(), "mips") || strings.Contains(info.Name(), "s390x") {
return nil
}