fix the release and build files

This commit is contained in:
Jingfang Liu
2018-09-13 11:51:47 -07:00
parent b17d7fbbfd
commit a9f44aa259
2 changed files with 3 additions and 3 deletions

View File

@@ -23,10 +23,10 @@ set -x
# - Use /go as the default GOPATH because this is what the image uses # - 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 # - Link our current directory (containing the source code) to the package location in the GOPATH
OWNER="kubernetes-sigs" OWNER="sigs.k8s.io"
REPO="kustomize" REPO="kustomize"
GO_PKG_OWNER=$GOPATH/src/github.com/$OWNER GO_PKG_OWNER=$GOPATH/src/$OWNER
GO_PKG_PATH=$GO_PKG_OWNER/$REPO GO_PKG_PATH=$GO_PKG_OWNER/$REPO
mkdir -p $GO_PKG_OWNER mkdir -p $GO_PKG_OWNER

View File

@@ -4,7 +4,7 @@ project_name: kustomize
builds: builds:
- main: ./kustomize.go - main: ./kustomize.go
binary: kustomize 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: goos:
- darwin - darwin
- linux - linux