mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #11028 from thockin/version-subst-any-ver-to-new
On release, always subst new version
This commit is contained in:
commit
8cca0b6ffb
@ -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)/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/run-gendocs.sh
|
||||||
${KUBE_ROOT}/hack/update-swagger-spec.sh
|
${KUBE_ROOT}/hack/update-swagger-spec.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user