(fix) double print in ci tag

This commit is contained in:
Milan Kolar 2021-09-23 09:24:31 +01:00
parent bbf4964235
commit e6093a7835

View file

@ -15,13 +15,11 @@ def get_release_type_github(Log, github_token):
repo = g.get_repo("pypeclub/OpenPype")
for line in Log.splitlines():
print(line)
match = re.search("pull request #(\d+)", line)
if match:
pr_number = match.group(1)
pr = repo.get_pull(int(pr_number))
for label in pr.labels:
print(label.name)
if label.name in minor_labels:
return ("minor")
elif label.name in patch_labels: