From e0fbf17ad51513cb31b27a81e6f8a7b5eb603274 Mon Sep 17 00:00:00 2001 From: Lorenzo Manacorda Date: Wed, 2 May 2018 12:28:42 +0200 Subject: [PATCH] code-gen: Update instructions To mention that a tag should be checked-out, rather than a branch. Signed-off-by: Lorenzo Manacorda --- hack/update-codegen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 34a61005..f5762a5a 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -20,9 +20,9 @@ # First of all, the code-generator needs to be fetched: # $ go get -u k8s.io/code-generator # -# Now checkout the appropriate branch for the Kubernetes version that +# Now checkout the appropriate tag for the Kubernetes version that # you're building for. For example if you're building for Kubernetes -# 1.10.0 you would checkout the `release-1.10` branch. +# 1.10.0 you would checkout the `kubernetes-1.10.0` tag. # # Then run this from the repo's root with: # $ CODEGEN_PKG=../../../k8s.io/code-generator hack/update-codegen.sh