mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-07 13:31:37 +02:00
feat: linux compatible arch for ppc64/ppc64le (#987)
Maps linuxppc64 and linuxppc64le to the standard ppc64 and ppc64le nomenclature used in packages for these architectures.
This commit is contained in:
parent
6f2f760875
commit
adb6b947e4
@ -16,6 +16,10 @@ func Arch(key string) string {
|
||||
return "armel"
|
||||
case strings.Contains(key, "arm7"):
|
||||
return "armhf"
|
||||
case strings.Contains(key, "ppc64le"):
|
||||
return "ppc64le"
|
||||
case strings.Contains(key, "ppc64"):
|
||||
return "ppc64"
|
||||
}
|
||||
return key
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user