-
Notifications
You must be signed in to change notification settings - Fork 163
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
chore: reorder changelog sections during release #809
Conversation
build/bump_version.ps1
Outdated
$previousSectionIndex = 0 | ||
|
||
foreach($line in Get-Content $CHANGELOG_PATH) { | ||
if($line -match "## [[0-9]+\.[0-9]+\.[0-9]+]"){ |
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.
It should be "#{2,3} [[0-9]+.[0-9]+.[0-9]+]" because if there is only release with fixes then # character will occur 3 times
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.
Good catch!
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.
👍
No description provided.