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