Skip to content

Commit 12eabfe

Browse files
authored
Update CHANGELOG Entry to Match New Guidelines (Azure#24023)
1 parent 93991df commit 12eabfe

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

eng/scripts/Generate-Patch.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,11 @@ function UpdateChangeLog($ArtifactName, $ServiceDirectoryName, $Version) {
9191
LogDebug "Adding new ChangeLog entry for Version [$Version]"
9292
$Content = @()
9393
$Content += ""
94-
$Content += "### Dependency Updates"
94+
$Content += "### Other Changes"
9595
$Content += ""
96-
$Content += "Upgraded ``azure-core`` and other dependencies for the library."
96+
$Content += "#### Dependency Updates"
97+
$Content += ""
98+
$Content += "- Upgraded ``azure-core`` and other dependencies for the library."
9799
$Content += ""
98100
$newChangeLogEntry = New-ChangeLogEntry -Version $Version -Status $ReleaseStatus -Content $Content
99101
if ($newChangeLogEntry) {
@@ -234,7 +236,7 @@ try {
234236
Write-Information "Resetting the $ArtifactName sources to the release $ReleaseTag."
235237

236238
## Creating a new branch
237-
$CmdOutput = git checkout -b $BranchName $RemoteName/main
239+
$cmdOutput = git checkout -b $BranchName $RemoteName/main
238240
if($LASTEXITCODE -ne 0) {
239241
LogError "Could not checkout branch $BranchName, please check if it already exists and delete as necessary. Exiting..."
240242
exit

0 commit comments

Comments
 (0)