mirror of https://github.com/k3s-io/k3s
Apply version subst multiple times per line
parent
5bd82ffe6d
commit
fbc0c7558e
|
@ -54,7 +54,7 @@ done
|
|||
for doc in "${mdfiles[@]}"; do
|
||||
$SED -ri \
|
||||
-e '/<!-- BEGIN STRIP_FOR_RELEASE -->/,/<!-- END STRIP_FOR_RELEASE -->/d' \
|
||||
-e "s|(releases.k8s.io)/[^/]+|\1/${NEW_VERSION}|" \
|
||||
-e "s|(releases.k8s.io)/[^/]+|\1/${NEW_VERSION}|g" \
|
||||
"${doc}"
|
||||
|
||||
# Replace /HEAD in html preview links with /NEW_VERSION.
|
||||
|
|
Loading…
Reference in New Issue