Merge pull request #11062 from thockin/docs-versioning-3

When releasing, update versions in title
This commit is contained in:
Rohit Jnagal 2015-07-10 10:01:18 -07:00
commit 161b9c84a2
3 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ DOCS_TO_EDIT=(docs/README.md examples/README.md)
for DOC in "${DOCS_TO_EDIT[@]}"; do for DOC in "${DOCS_TO_EDIT[@]}"; do
$SED -ri \ $SED -ri \
-e '/<!-- BEGIN STRIP_FOR_RELEASE -->/,/<!-- END STRIP_FOR_RELEASE -->/d' \ -e '/<!-- BEGIN STRIP_FOR_RELEASE -->/,/<!-- END STRIP_FOR_RELEASE -->/d' \
-e "s/HEAD/${NEW_VERSION}/" \ -e "s|(releases.k8s.io)/[^/]+|\1/${NEW_VERSION}|" \
"${DOC}" "${DOC}"
done done

View File

@ -1,4 +1,4 @@
# Kubernetes Documentation: HEAD # Kubernetes Documentation: releases.k8s.io/HEAD
<!-- BEGIN STRIP_FOR_RELEASE --> <!-- BEGIN STRIP_FOR_RELEASE -->

View File

@ -1,4 +1,4 @@
# Kubernetes Examples: HEAD # Kubernetes Examples: releases.k8s.io/HEAD
<!-- BEGIN STRIP_FOR_RELEASE --> <!-- BEGIN STRIP_FOR_RELEASE -->