Skip to content

Commit eb5c6da

Browse files
committed
skip merge commits (#1147)
1 parent 7a70049 commit eb5c6da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/update-changelog.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ def _get_commit_refs(self, repo_url, local_path, from_tag, to_tag):
7474
self.logger.info("Fetching commits between tags {}...{} ".format(from_tag, to_tag))
7575

7676
if local_path:
77-
repo = RepositoryMining(local_path, from_tag=from_tag, to_tag=to_tag)
77+
repo = RepositoryMining(local_path, from_tag=from_tag, to_tag=to_tag, only_no_merge=True)
7878
else:
79-
repo = RepositoryMining(repo_url, from_tag=from_tag, to_tag=to_tag)
79+
repo = RepositoryMining(repo_url, from_tag=from_tag, to_tag=to_tag, only_no_merge=True)
8080

8181
commit_titles = [commit.msg.split('\n\n')[0] for commit in repo.traverse_commits()]
8282
commit_list = [re.findall(r'#\d+', title) for title in commit_titles]

0 commit comments

Comments
 (0)