fix: don't try to compress riscv64 binaries in releases

pull/1242/head
kolaente 4 weeks ago
parent aaeffe925e
commit d8f387f796
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
  1. 4
      magefile.go

@ -559,7 +559,9 @@ func (Release) Compress(ctx context.Context) error {
return nil
}
// 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
}

Loading…
Cancel
Save