Remove raw to process changelog line by line

This commit is contained in:
Aditya Patwardhan
2022-08-11 17:24:01 -07:00
parent 46f7b36bfd
commit 2b23cd5405
@@ -64,7 +64,7 @@ steps:
throw "$filePath not found"
}
$changelog = Get-Content -Raw -Path $filePath
$changelog = Get-Content -Path $filePath
$startPattern = "^## \[" + ([regex]::Escape($releaseVersion)) + "\]"
$endPattern = "^## \[{0}\.{1}\.{2}*" -f $semanticVersion.Major, $semanticVersion.Minor, $semanticVersion.Patch