From a7cd53bc7eda84849598864dfbd4f6cd8295b2cb Mon Sep 17 00:00:00 2001 From: JanetKuo Date: Thu, 10 Sep 2015 14:24:42 -0700 Subject: [PATCH] Distribute kubectl bash completion file with kubernetes binaries --- build/common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/common.sh b/build/common.sh index bbb5e0173c..f351e41ed4 100755 --- a/build/common.sh +++ b/build/common.sh @@ -835,6 +835,8 @@ function kube::release::package_full_tarball() { cp "${KUBE_ROOT}/README.md" "${release_stage}/" cp "${KUBE_ROOT}/LICENSE" "${release_stage}/" cp "${KUBE_ROOT}/Vagrantfile" "${release_stage}/" + mkdir -p "${release_stage}/contrib/completions/bash" + cp "${KUBE_ROOT}/contrib/completions/bash/kubectl" "${release_stage}/contrib/completions/bash" kube::release::clean_cruft