We have found that if the title of a PR changes after it has been merged, for example, to fix a spelling error, that a duplicate entry is created in the changelog because the entire line is not found and therefore a new line is added.
This walks the entire, current version's entry and removes any line where the PR matches but the line does not.
We have found that if the title of a PR changes after it has been merged, for example, to fix a spelling error, that a duplicate entry is created in the changelog because the entire line is not found and therefore a new line is added.
This walks the entire, current version's entry and removes any line where the PR matches but the line does not.