Skip to content

Commit

Permalink
Fixing mark-new-version
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiljindal committed Jul 20, 2015
1 parent b4fb938 commit 54e6f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/mark-new-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54e6f5d

Please sign in to comment.