mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Fix quoting issue on sed
This commit is contained in:
parent
32afe0ce7f
commit
ec2dd1ecfb
@ -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