Merged changelog has wrong changelog entry
See original GitHub issueEvery merged PR with a changelog entry within a release might end up in the wrong changelog version entry.
Steps:
- Cut a release from
main
, it creates the release branch. 2, Do not approve the release yet. - Merge a PR into the main branch with a changelog entry.
- Approve the release that merges the release branch into the main branch.
- The changelog entry from step 3 is within the release but it’s not published since this PR was merged after step 1.
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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Changelog entries - GitLab Docs
If your merge request has multiple commits, make sure to add the Changelog entry to the first commit. This ensures that the correct...
Read more >Question: How to version control the changelog? #253 - GitHub
When changes are merged into the mainline branch by QA, QA goes in and adds a proper version number. That way, we rarely...
Read more >Prevent automatic changelog merging - Stack Overflow
This is what's called a semantic conflict. The code merges correctly without conflicts, but the result is not what you wanted.
Read more >Changelog · Development · Help · GitLab
Each list item, or entry, in our CHANGELOG.md file is generated from the ... When generating the changelog, author and merge request details...
Read more >Changelog entries - Help · GitLab
Our CHANGELOG file was previously updated manually by each contributor that felt their change warranted an entry. When two merge requests added their...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @BYK I will discuss that with @bruno-garcia We already use
#skip-changelog
, so that would likely do.Okay so identified the issue here. It is just a merge error, nothing to do with Craft itself. This happens in https://github.com/getsentry/sentry-react-native/commit/56c9319624c38be2331113ff17e2ac48db628098.
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