Squash merges hide commit types from semantic-release, which reads only the PR title

semantic-release decides version bumps from the commit subject, so a squash merge leaves only the pull request title for analysis and ignores the individual commits in its body. The author's dotfiles repository squash-merged six pull requests between October 29 and November 5, combining 133 commits, 68 of them feat or fix, yet 67 of those never reached the changelog. Five of the six release runs reported no relevant changes and still passed. The fix is to write pull request titles in the Conventional Commits format or to merge with a merge commit so every commit is read. The article also details a release configuration and a workflow using a pinned semantic-release version.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in