Generate release notes button does not work for release branches #113181
Replies: 5 comments 2 replies
-
Hello, Thank you for reaching out and for the detailed explanation of the workflow you're using, as well as the specific challenge you're encountering with generating release notes for your backport branches. It's great to hear that the release notes generation feature works well for your main branch and that you're taking full advantage of the .github/release.yml configuration for automation. ❤️ Regarding the issue with empty release notes on your release-major-2024-1 like branches, this indeed sounds like an unusual behavior, especially considering that the "Full Changelog" link correctly displays the cherry-picked commits. It's possible that this could be related to how the release notes generation feature interprets tags and commits in non-main branches, or how it interacts with cherry-picked commits specifically. While I don't have an immediate solution, I would recommend a few steps to help us diagnose and potentially address the issue: Detailed Reproduction Steps: If possible, could you provide a step-by-step guide to reproduce this issue in a public repository? This would greatly help in understanding the exact workflow and identifying any potential gaps. .github/release.yml Configuration: Sharing a sanitized version of your .github/release.yml configuration might reveal specific settings that could affect the generation process for your backport branches. Screenshots or Logs: If there are any logs from the release notes generation process or screenshots that show the discrepancy, they could be very helpful. Previous Discussions: Since you mentioned expecting this issue to have been raised before, have you encountered any similar issues or discussions, even if not exactly the same, that might provide clues? |
Beta Was this translation helpful? Give feedback.
-
I have also seen changes on the way GitHub automatically generates release notes since 2 days , previously an empty "Previous tag" parameter would do a list based on latest pre-release, now it is based on the latest release |
Beta Was this translation helpful? Give feedback.
-
Have there been any updates to this issue? I experienced the same problem today after trying to generate release notes when the last commit was a cherry-picked commit of a PR into main (into my release branch) - I get the empty release notes. Is there a workaround until this bug is fixed? |
Beta Was this translation helpful? Give feedback.
-
Any updates on this issue? Would be a great help in our daily work. |
Beta Was this translation helpful? Give feedback.
-
We also deploy "bugfixes" branches after fixes have been merged to main (the bugfix branches contain the previous release commit and a cherry pick of the bugfix), and the Generate Release Notes button skips the cherry-picked commits, resulting in empty release notes. What's worse is that clicking on the link to show the differences between the 2 releases, we can clearly see the cherry picked commit. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Hi! In our workflow, we're using backport branches where we cherry pick bugfix commits from
main
onto. (All our relevant PR's are squashed into single commits, with links to the original PR.) We use the "Generate release notes" button in combination with a.github/release.yml
config to make generating release notes as automated as we can. This works really great on ourmain
branch! ❤️But when we use the button on our
release-major-2024-1
like branches, where all the tags for bugfix releases live, the generated release notes are always empty. The "Full Changelog" link that is included does show the cherry picked commits. Setting the "Previous tag" explicitly to the version before makes no difference either, the generated release notes are still empty.I expected that this issue would have been raised before, but could not find it here yet. Is this something that we will have to find a way around, or will this be made to work in the future?
Beta Was this translation helpful? Give feedback.
All reactions