Skip to content
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

Merged
merged 9 commits into from
Feb 24, 2022

Conversation

mwwoda
Copy link
Contributor

@mwwoda mwwoda commented Feb 24, 2022

No description provided.

$previousSectionIndex = 0

foreach($line in Get-Content $CHANGELOG_PATH) {
if($line -match "## [[0-9]+\.[0-9]+\.[0-9]+]"){
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

arjankowski
arjankowski previously approved these changes Feb 24, 2022
Copy link
Contributor

@arjankowski arjankowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mwwoda mwwoda merged commit 8021b8e into main Feb 24, 2022
@mwwoda mwwoda deleted the sdk-2008-reorder-changelog-sections branch February 24, 2022 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants