-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Merged changelog has wrong changelog entry #364
Comments
This should never happen if you are doing the releases via Line 46 in 6d523c5
To point it to the actual rev/branch that is being released instead of |
@BYK the release was done via |
Okay so identified the issue here. It is just a merge error, nothing to do with Craft itself. This happens in getsentry/sentry-react-native@56c9319. The actual Changelog and the changelog entry in the GitHub releases page are correct. If you want to avoid these kinds of issues, using Craft's auto changelog feature is the best: https://github.com/getsentry/craft#changelog-policies |
I've fixed them manually, they were wrong and that's the reason I've opened this issue.
The problem with That said, unless we're doing something wrong, this is still a bug and requires checking the changelog manually after every release. |
|
@kamilogorek yep, I get that, and we already use |
If you want to keep things clean, you can use auto changelogs as they are intended: use milestones to group the work and the rest gets collected under "various fixes and improvements", which may still be relevant to people. If you are 100% sure something that should not go to the auto changelog, you can always add Line 14 in 6d523c5
#knowyourtools :) |
I did see the Changelog file fix. I just couldn't trace down how the release page ended up incorrectly. The publish run references the commit without the merge and on publish we always checkout the revision/branch to publish: Line 455 in 6d523c5
I cannot find a path that would lead our publish pipeline checkout the merge to master (as this happens once all targets are published). |
Maybe I've fixed the changelog file only and not the GH release (because it was correct), not 100% sure now since I've been checking many of the recent releases for Java/Gradle and Dart since they have new support for Craft and Publish. |
Thanks @BYK |
Every merged PR with a changelog entry within a release might end up in the wrong changelog version entry.
Steps:
main
, it creates the release branch.2, Do not approve the release yet.
The problem is that you always have to check that manually after releases, or your changelog might have wrong entries.
Image gotten from: https://github.com/getsentry/sentry-react-native/commits/main
The text was updated successfully, but these errors were encountered: