summaryrefslogtreecommitdiff
path: root/bin/gen_release_notes.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gen_release_notes.py')
-rwxr-xr-xbin/gen_release_notes.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/gen_release_notes.py b/bin/gen_release_notes.py
index 7f62228d59a..bfc65ca92b7 100755
--- a/bin/gen_release_notes.py
+++ b/bin/gen_release_notes.py
@@ -198,10 +198,11 @@ async def parse_issues(commits: str) -> typing.List[str]:
break
else:
raise Exception('No closes found?')
- if bug.startswith('h'):
+
+ if bug.startswith('https://gitlab.freedesktop.org/mesa/mesa'):
# This means we have a bug in the form "Closes: https://..."
issues.append(os.path.basename(urllib.parse.urlparse(bug).path))
- else:
+ elif bug.startswith('#'):
issues.append(bug.lstrip('#'))
return issues