Skip to content

Commit

Permalink
code-gen: Update instructions
Browse files Browse the repository at this point in the history
To mention that a tag should be checked-out, rather than a branch.

Signed-off-by: Lorenzo Manacorda <lorenzo@kinvolk.io>
  • Loading branch information
Lorenzo Manacorda committed May 7, 2018
1 parent 9531d16 commit ecb3953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ecb3953

Please sign in to comment.