Skip to content

Commit

Permalink
Merge pull request kubernetes#42623 from liggitt/kubectl-version
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

Fix v0.0.0 in kubectl built from master

Fixes kubernetes#40813
  • Loading branch information
Kubernetes Submit Queue authored Mar 13, 2017
2 parents 5913c5a + 2d06607 commit 5e29e1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/lib/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e29e1e

Please sign in to comment.