Closed
Description
The problem
The commit object returned from GitPython seems to sometimes contain DOS CRs (^M
)s (even when the original commit message does not contain them). This results in inconsistent carriage return style in generated changelogs with the default template
Expected behavior
Consistent CRs in generated changelog
Environment
% python3 --version
Python 3.12.3
% pip3 --version
pip 24.0 from /opt/homebrew/lib/python3.12/site-packages/pip (python 3.12)
% semantic-release --version
semantic-release, version 9.8.1
I can make a PR to fix this, though may need some help with figuring out the best way(s) to test if applicable.