mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
Merge pull request #11023 from thockin/automated-cherry-pick-of-#10961-on-release-0.21
Automated cherry pick of #10961 on release 0.21
This commit is contained in:
commit
3f14ca781b
@ -95,8 +95,8 @@ echo "+++ Versioning documentation and examples"
|
|||||||
DOCS_TO_EDIT=(docs/README.md examples/README.md)
|
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 "s/HEAD/${NEW_VERSION}/" \
|
-e "s/HEAD/${NEW_VERSION}/" \
|
||||||
-e "/<!-- BEGIN STRIP_FOR_RELEASE -->/,/<!-- END STRIP_FOR_RELEASE -->/d" \
|
|
||||||
"${DOC}"
|
"${DOC}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user