fix(commit_footer_refs): Use the current git branch for comparison.

dynamically select the current branch so that it can be compared to the dev branch

!5 #1
This commit is contained in:
2021-08-11 12:14:50 +09:30
parent 8a988ebf09
commit 63af1efb4f

View File

@ -13,7 +13,7 @@ class Commits:
self._repository = git.Repo(os.getcwd())
self._failed = []
merge_base = self._repository.merge_base('development', 'changelog-footer-toggle')
merge_base = self._repository.merge_base('development', self._repository.active_branch)
self._merge_base = str(merge_base[0])
self.fetch_all()