Commit 5e29e1ee authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #42623 from liggitt/kubectl-version

Automatic merge from submit-queue Fix v0.0.0 in kubectl built from master Fixes https://github.com/kubernetes/kubernetes/issues/40813
parents 5913c5a4 2d066078
......@@ -119,6 +119,7 @@ kube::version::ldflag() {
local val=${2}
echo "-X ${KUBE_GO_PACKAGE}/pkg/version.${key}=${val}"
echo "-X ${KUBE_GO_PACKAGE}/vendor/k8s.io/client-go/pkg/version.${key}=${val}"
}
# Prints the value that needs to be passed to the -ldflags parameter of go build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment