mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 09:49:13 +00:00
fix the release and build files
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user