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.
I've been testing this on a new collection in an effort to leverage release drafter while still generating a collection change log. Thank for your work here and in the example repo.
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.
I've been testing this on a new collection in an effort to leverage release drafter while still generating a collection change log. Thank for your work here and in the example repo.
This is good stuff.