add comment in hack/update-*.sh

This commit is contained in:
tanjunchen
2020-01-16 10:05:49 +08:00
parent 5d1c301610
commit b2f76cc780
8 changed files with 32 additions and 10 deletions

View File

@@ -14,6 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Please do not add any logic to this shell script. Add logic to the go code
# that generates the set-gen program.
set -o errexit
set -o nounset
set -o pipefail
@@ -34,10 +37,6 @@ clientgen=$(kube::util::find-binary "client-gen")
listergen=$(kube::util::find-binary "lister-gen")
informergen=$(kube::util::find-binary "informer-gen")
# Please do not add any logic to this shell script. Add logic to the go code
# that generates the set-gen program.
#
IFS=" " read -r -a GROUP_VERSIONS <<< "${KUBE_AVAILABLE_GROUP_VERSIONS}"
GV_DIRS=()
for gv in "${GROUP_VERSIONS[@]}"; do