mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Merge pull request #11609 from nikhiljindal/fixMarkNewVersion
Fixing mark-new-version
This commit is contained in:
commit
635073c37c
@ -105,7 +105,7 @@ for doc in "${mdfiles[@]}"; do
|
|||||||
"${doc}"
|
"${doc}"
|
||||||
|
|
||||||
# Replace /HEAD in html preview links with /NEW_VERSION.
|
# Replace /HEAD in html preview links with /NEW_VERSION.
|
||||||
$SED -ri -e "s|(${HTML_PREVIEW_PREFIX}/HEAD)|${HTML_PREVIEW_PREFIX}/${NEW_VERSION}|"
|
$SED -ri -e "s|(${HTML_PREVIEW_PREFIX}/HEAD)|${HTML_PREVIEW_PREFIX}/${NEW_VERSION}|" "${doc}"
|
||||||
|
|
||||||
is_versioned_tag='<!-- TAG IS_VERSIONED -->'
|
is_versioned_tag='<!-- TAG IS_VERSIONED -->'
|
||||||
if ! grep -q "${is_versioned_tag}" "${doc}"; then
|
if ! grep -q "${is_versioned_tag}" "${doc}"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user