Skip to content

Commit

Permalink
Refine CollectChangelog Logic
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Jan 22, 2021
1 parent 048069d commit 6b55504
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions eng/common/scripts/Collect-ChangeLogs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,9 @@ foreach ($packageProp in $allPackageProps) {
$releaseHighlights[$key]["ChangelogUrl"] = "https://github.com/Azure/azure-sdk-for-${LanguageShort}/blob/${releaseTag}/sdk/${serviceDirectory}/${packageName}/CHANGELOG.md#${githubAnchor}"
$releaseHighlights[$key]["Content"] = @()

$changeLogEntry.ReleaseContent | %{

$changeLogEntry.ReleaseContent | %{
$releaseHighlights[$key]["Content"] += $_.Replace("###", "####")
$releaseHighlights[$key]["Content"] += "`n"
}
$releaseHighlights[$key]["Content"] += "`n"
}
}

Expand Down

0 comments on commit 6b55504

Please sign in to comment.