mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #11062 from thockin/docs-versioning-3
When releasing, update versions in title
This commit is contained in:
commit
161b9c84a2
@ -96,7 +96,7 @@ DOCS_TO_EDIT=(docs/README.md examples/README.md)
|
||||
for DOC in "${DOCS_TO_EDIT[@]}"; do
|
||||
$SED -ri \
|
||||
-e '/<!-- BEGIN STRIP_FOR_RELEASE -->/,/<!-- END STRIP_FOR_RELEASE -->/d' \
|
||||
-e "s/HEAD/${NEW_VERSION}/" \
|
||||
-e "s|(releases.k8s.io)/[^/]+|\1/${NEW_VERSION}|" \
|
||||
"${DOC}"
|
||||
done
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Kubernetes Documentation: HEAD
|
||||
# Kubernetes Documentation: releases.k8s.io/HEAD
|
||||
|
||||
<!-- BEGIN STRIP_FOR_RELEASE -->
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Kubernetes Examples: HEAD
|
||||
# Kubernetes Examples: releases.k8s.io/HEAD
|
||||
|
||||
<!-- BEGIN STRIP_FOR_RELEASE -->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user