Skip to content

Commit

Permalink
Switch the content from array to string. (#16057)
Browse files Browse the repository at this point in the history
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
  • Loading branch information
azure-sdk and sima-zhu authored Oct 19, 2020
1 parent f5f0e76 commit 0da24ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/common/scripts/copy-docs-to-blobstorage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ function Upload-Blobs
if ($ReleaseTag) {
foreach ($htmlFile in (Get-ChildItem $DocDir -include *.html -r))
{
$fileContent = Get-Content -Path $htmlFile
$fileContent = Get-Content -Path $htmlFile -Raw
$updatedFileContent = $fileContent -replace $RepoReplaceRegex, "`${1}$ReleaseTag"
if ($updatedFileContent -ne $fileContent) {
Set-Content -Path $htmlFile -Value $updatedFileContent
Expand Down

0 comments on commit 0da24ad

Please sign in to comment.