Merge pull request #11034 from thockin/automated-cherry-pick-of-#11033-on-automated-cherry-pick-of-#11028-on-upstream-release-0.21

Automated cherry pick of #11028 and #11033 on upstream release 0.21
This commit is contained in:
Zach Loafman 2015-07-10 08:24:33 -07:00
commit a9c7d31dc7

View File

@ -101,7 +101,7 @@ for DOC in "${DOCS_TO_EDIT[@]}"; do
done
# Update API descriptions to match this version.
$SED -ri -e "s|(releases.k8s.io)/HEAD|\1/${NEW_VERSION}|" pkg/api/v[0-9]*/types.go
$SED -ri -e "s|(releases.k8s.io)/[^/]+|\1/${NEW_VERSION}|" pkg/api/v[0-9]*/types.go
${KUBE_ROOT}/hack/run-gendocs.sh
${KUBE_ROOT}/hack/update-swagger-spec.sh