fix: don't try to compress riscv64 binaries in releases
This commit is contained in:
parent
aaeffe925e
commit
d8f387f796
1 changed files with 3 additions and 1 deletions
|
@ -559,7 +559,9 @@ func (Release) Compress(ctx context.Context) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
// No mips or s390x for you today
|
// No mips or s390x for you today
|
||||||
if strings.Contains(info.Name(), "mips") || strings.Contains(info.Name(), "s390x") {
|
if strings.Contains(info.Name(), "mips") ||
|
||||||
|
strings.Contains(info.Name(), "s390x") ||
|
||||||
|
strings.Contains(info.Name(), "riscv64") { // not supported by upx
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue