From ef5b37f46ccf19428d2c8510593c9d03f091ae7d Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 23 May 2016 16:14:15 -0400 Subject: [PATCH] Cut version 0.6.0-beta1 --- scripts/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index cc319e4a73..54048f77b9 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -19,8 +19,9 @@ GIT_COMMIT="$(git rev-parse HEAD)" GIT_DIRTY="$(test -n "`git status --porcelain`" && echo "+CHANGES" || true)" # Determine the arch/os combos we're building for -XC_ARCH=${XC_ARCH:-"386 amd64 arm"} +XC_ARCH=${XC_ARCH:-"386 amd64"} XC_OS=${XC_OS:-linux darwin windows freebsd openbsd netbsd} +XC_OSARCH=${XC_OSARCH:-"linux/386 linux/amd64 linux/arm darwin/386 darwin/amd64 windows/386 windows/amd64 freebsd/386 freebsd/amd64 freebsd/arm openbsd/386 openbsd/amd64 openbsd/arm netbsd/386 netbsd/amd64 netbsd/arm"} GOPATH=${GOPATH:-$(go env GOPATH)} case $(uname) in @@ -44,8 +45,7 @@ fi # Build! echo "==> Building..." gox \ - -os="${XC_OS}" \ - -arch="${XC_ARCH}" \ + -osarch="${XC_OSARCH}" \ -ldflags "-X github.com/hashicorp/vault/version.GitCommit='${GIT_COMMIT}${GIT_DIRTY}'" \ -output "pkg/{{.OS}}_{{.Arch}}/vault" \ -tags="${BUILD_TAGS}" \