Commit 635073c3 authored by Zach Loafman's avatar Zach Loafman

Merge pull request #11609 from nikhiljindal/fixMarkNewVersion

Fixing mark-new-version
parents b4fb9387 54e6f5d7
...@@ -105,7 +105,7 @@ for doc in "${mdfiles[@]}"; do ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment