Skip to content

Commit

Permalink
fix: convert \r\n to \n in commit messages
Browse files Browse the repository at this point in the history
Fixes #239
  • Loading branch information
danth committed May 15, 2020
1 parent 7d506d6 commit 34acbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion semantic_release/vcs_helpers.py
Expand Up @@ -51,7 +51,7 @@ def get_commit_log(from_rev=None):
)

for commit in repo.iter_commits(rev):
yield (commit.hexsha, commit.message)
yield (commit.hexsha, commit.message.replace('\r\n', '\n'))


@check_repo
Expand Down

0 comments on commit 34acbbc

Please sign in to comment.