When releasing, update versions in title

This commit is contained in:
Tim Hockin 2015-07-10 00:21:51 -07:00
parent f82c25524a
commit cb8e27230e
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 -->