From b8df304e10cceb5ba66e62a0c107e8f1c33e0869 Mon Sep 17 00:00:00 2001 From: Axetroy Date: Fri, 27 Sep 2019 11:04:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9E=84=E5=BB=BA=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/build.sh | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 5d1f5e2ab..400b0b774 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,40 +2,9 @@ # Reference: # https://github.com/golang/go/blob/master/src/go/build/syslist.go -os_archs=( - darwin/386 - darwin/amd64 - dragonfly/amd64 - freebsd/386 - freebsd/amd64 - freebsd/arm - linux/386 - linux/amd64 - linux/arm - linux/arm64 - linux/ppc64 - linux/ppc64le - linux/mips - linux/mipsle - linux/mips64 - linux/mips64le - linux/s390x - nacl/386 - nacl/amd64p32 - nacl/arm - netbsd/386 - netbsd/amd64 - netbsd/arm - openbsd/386 - openbsd/amd64 - openbsd/arm - plan9/386 - plan9/amd64 - plan9/arm - solaris/amd64 - windows/386 - windows/amd64 -) +os_archs=$(go tool dist list) + +os_archs=(${os_archs//$'\n'/ }) releases=() targets=(