mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 00:34:10 -04:00
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
This commit is contained in:
commit
5e29e1ee05
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue