-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Release PR created with empty changelog in the description #1549
Comments
This is a bug, yes, thanks for opening it. We use the parse_changelog library to parse the latest release from the changelog. In theory release-plz could read the template we pass to git-cliff for changelog generation, and parse the release itself. PR welcome for this! But first let's fix this issue 👍 |
Thanks for taking a look! It's a bit inconvenient for us to have to do a few extra clicks to see the changelog, but we can live with that for now. I would love to do a PR, however this will likely just sit in my already large pile of things I wish to do but not doing :P |
I addressed the bugs reported in #1561 and #1563 👍 Regarding the PR description, I think here we can fallback to create a list of changes if we can't parse the changelog, but I'm not sure if it makes sense, because it's not the changelog :/ |
I think for me the most important information I wanted to get from the PR description is: did release-plz recognize all my commits right? I.e. are there any commits going to the wrong section because it doesn't have a correct message line, and thus requires manual fixing in the changelog? Since release-plz acts based on different commit types, this gives me a good overview of how does release-plz see the world, and would help me debug if anything went wrong. I can always check the changelog in the files which is the source of truth anyway. So I'm less concerned about whether the PR description can be a true representation of the changelog or not. |
Ok, here's the solution in case anyone wants to fix this:
|
Bug description
shell-pool/shpool#84
We have single changelog setup following https://release-plz.ieni.dev/docs/extra/single-changelog#all-packages.
Changelog is updated correctly in the file, but the PR description contains empty changelog.
From the GitHub Action log, it seems the
release
subcommand is still looking for changelog at default paths.https://github.com/shell-pool/shpool/actions/runs/9879319364/job/27298313574
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Changelog is populated in PR description
Environment
Additional context
The text was updated successfully, but these errors were encountered: