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

Fix release tool issues #48

Merged
merged 2 commits into from
Mar 7, 2024
Merged

Conversation

dmcgowan
Copy link
Member

@dmcgowan dmcgowan commented Mar 7, 2024

Fix an issue with ] not getting stripped in titles like [release/1.6]
Fix an issue where the changelog with commits its not included when highlights flag is set even though skip commits is not set.

@@ -415,7 +415,8 @@ This tool should be ran from the root of the project repository for a new releas
r.Dependencies = updatedDeps
if highlights {
r.Highlights = groupHighlights(projectChanges)
} else {
}
if !highlights || !skipCommits {
Copy link
Member

Choose a reason for hiding this comment

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

This will cause the commits to be displayed even if the --skip-commits is set to true, but highlights flag is not set, it defaults to false.

Copy link
Member Author

Choose a reason for hiding this comment

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

If skip-commits is set, then commits are ignored and not listed, only PRs are. Highlights also only shows PRs. If highlights is set, then it doesn't make sense to also show just the full of PRs below the highlights. Documentation probably makes more sense here, I'll at least update the flags to use on our own release docs.

Copy link
Member

Choose a reason for hiding this comment

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

Yep. Doc definitely helps.

@estesp estesp merged commit c78fe05 into containerd:main Mar 7, 2024
1 check passed
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.

4 participants