Fixing mark-new-version

pull/6/head
nikhiljindal 2015-07-20 14:27:45 -07:00
parent b4fb9387b6
commit 54e6f5d7ba
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ for doc in "${mdfiles[@]}"; do
"${doc}"
# 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 -->'
if ! grep -q "${is_versioned_tag}" "${doc}"; then