-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update format of new Changelog Entry #1633
Conversation
The following pipelines have been queued for testing: |
640ffa6
to
bef1cc7
Compare
The following pipelines have been queued for testing: |
bef1cc7
to
9f63951
Compare
The following pipelines have been queued for testing: |
7cbb900
to
df94b47
Compare
The following pipelines have been queued for testing: |
if ($line.Trim() -match "^###\s(?<sectionName>.*)") | ||
{ | ||
$sectionName = $matches["sectionName"].Trim() | ||
$changeLogEntry.Sections[$sectionName] = @() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there are multiple sections with the same name this will essentially throw out the old section. That might not be a real issue but something to keep in mind.
Hello @azure-sdk! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
/check-enforcer override |
@@ -195,7 +208,19 @@ function New-ChangeLogEntry { | |||
return $null | |||
} | |||
|
|||
if (!$Content) { $Content = @() } | |||
if (!$Content) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chidozieononiwu one other question that I just thought about is now our verify changelog check that validates that the change log isn't empty should be updated to verify that the change log entry doesn't have all empty sections.
Update changelog entry to match updated guidance https://azure.github.io/azure-sdk/policies_releases.html#change-logs
New Changelog entries will now look like