From 90c9211a255a5bf088a759d017a7c8fd18f68a39 Mon Sep 17 00:00:00 2001 From: Adam Haynes Date: Wed, 10 Oct 2018 09:32:39 +0200 Subject: [PATCH] fixed headers --- Tools/Release/Release.psm1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tools/Release/Release.psm1 b/Tools/Release/Release.psm1 index ea0b9a2f5..6aee70ad7 100644 --- a/Tools/Release/Release.psm1 +++ b/Tools/Release/Release.psm1 @@ -288,11 +288,11 @@ function Update-ReleaseNotes $changelogContent = Get-Content -Path $changelogPath -Raw $unreleasedHeaderReplace = New-Object System.Text.StringBuilder - $null = $unreleasedHeaderReplace.AppendLine('### Unreleased') + $null = $unreleasedHeaderReplace.AppendLine('## Unreleased') $null = $unreleasedHeaderReplace.AppendLine('') - $null = $unreleasedHeaderReplace.AppendLine("### $ModuleVersion") + $null = $unreleasedHeaderReplace.AppendLine("## $ModuleVersion") - $changelogContent = $changelogContent -replace '###\sUnreleased', + $changelogContent = $changelogContent -replace '##\sUnreleased', $unreleasedHeaderReplace.ToString().Trim() Set-Content -Path $changelogPath -Value $changelogContent.Trim()