-
Notifications
You must be signed in to change notification settings - Fork 20
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
More accurate release notes for backport releases #181
Comments
Great summary. I've hit this a couple of times in the opposite order: 1.0.0 -> 1.0.1 -> 2.0.0 where 1.0.1 is a tiny release made on a branch, but gets attributed most of what 2.0.0 should include. Then the 2.0.0 release notes include hardly anything. |
Is there a workaround for this? On multiple occasions (e.g. see above) I've had users confused about a feature that Tagbot had put in the release notes of a backport release while it's only available on |
It would be nice if in doubt tagbot would put nothing user viable. I think detecting the in doubt cases is probably easier? |
This will still mean that issues and PRs get 'swallowed' by a backport release (1.0.1 in the example) and won't show up in the release that actually contains these fixes, right? |
Suppose I make the following releases, in order: 1.0.0, 2.0.0, 1.0.1
An idea: Most backport releases are not made on the main branch, and we can use that to help prune the issues/PRs.
release-A.B
or similar and not on the default branch.Pruning issues is harder, since they don't have a base branch of their own. But they're often associated with (closed by) PRs, and we could select only the issues that were closed by a PR that was merged into the release branch. But errors in that approach result in lost information rather than extra information, and it's a lot easier to remove stuff manually than to add it in manually. And ultimately, that approach gets the same or less as just taking all issues from the previous chronological release.
So maybe the best bet is to take only PRs that were merged into the release branch since the previous SemVer release, and take all issues that were closed since the last chronological release.
The text was updated successfully, but these errors were encountered: