1
0
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:
Phil DeMonaco 2019-03-19 20:02:12 -04:00 committed by Carlos Alexandro Becker
parent 6f2f760875
commit adb6b947e4

View File

@ -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
}