From a9f44aa2590cdca79609492bb03ea387d9fcb5dd Mon Sep 17 00:00:00 2001 From: Jingfang Liu Date: Thu, 13 Sep 2018 11:51:47 -0700 Subject: [PATCH] fix the release and build files --- build/build.sh | 4 ++-- build/goreleaser.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/build.sh b/build/build.sh index 822ebcf98..2a11c42cf 100755 --- a/build/build.sh +++ b/build/build.sh @@ -23,10 +23,10 @@ set -x # - Use /go as the default GOPATH because this is what the image uses # - Link our current directory (containing the source code) to the package location in the GOPATH -OWNER="kubernetes-sigs" +OWNER="sigs.k8s.io" REPO="kustomize" -GO_PKG_OWNER=$GOPATH/src/github.com/$OWNER +GO_PKG_OWNER=$GOPATH/src/$OWNER GO_PKG_PATH=$GO_PKG_OWNER/$REPO mkdir -p $GO_PKG_OWNER diff --git a/build/goreleaser.yaml b/build/goreleaser.yaml index 807396733..35ce0349b 100644 --- a/build/goreleaser.yaml +++ b/build/goreleaser.yaml @@ -4,7 +4,7 @@ project_name: kustomize builds: - main: ./kustomize.go binary: kustomize - ldflags: -s -X github.com/kubernetes-sigs/kustomize/pkg/commands.kustomizeVersion={{.Version}} -X github.com/kubernetes-sigs/kustomize/pkg/commands.gitCommit={{.Commit}} -X github.com/kubernetes-sigs/kustomize/pkg/commands.buildDate={{.Date}} + ldflags: -s -X sigs.k8s.io/kustomize/pkg/commands.kustomizeVersion={{.Version}} -X sigs.k8s.io/kustomize/pkg/commands.gitCommit={{.Commit}} -X sigs.k8s.io/kustomize/pkg/commands.buildDate={{.Date}} goos: - darwin - linux