Fix v0.0.0 in kubectl built from master

This commit is contained in:
Jordan Liggitt 2017-03-07 01:09:57 -05:00
parent 4c4c9e47f3
commit 2d06607885
No known key found for this signature in database
GPG Key ID: 24E7ADF9A3B42012

View File

@ -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