Commit 10ce2d2e authored by Tim Hockin's avatar Tim Hockin

Only subst things that exist

parent d6756c1f
...@@ -101,7 +101,7 @@ for DOC in "${DOCS_TO_EDIT[@]}"; do ...@@ -101,7 +101,7 @@ for DOC in "${DOCS_TO_EDIT[@]}"; do
done done
# Update API descriptions to match this version. # Update API descriptions to match this version.
$SED -ri -e "s|(releases.k8s.io)/[^/]*|\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/run-gendocs.sh
${KUBE_ROOT}/hack/update-swagger-spec.sh ${KUBE_ROOT}/hack/update-swagger-spec.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment