aboutsummaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
Diffstat (limited to 'release.py')
-rwxr-xr-xrelease.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release.py b/release.py
index 13fa386b2..c7b773363 100755
--- a/release.py
+++ b/release.py
@@ -162,9 +162,9 @@ class Project:
return translations
def get_bug_author(self, bug_number):
- cmd = 'git log %s.. | grep -B 20 "#%s"' \
+ cmd = 'git log %s.. | grep -B 20 -E "(bug %s|#%s)"' \
' | tac | grep ^Author: | head -1' \
- % (self.last_tag, bug_number)
+ % (self.last_tag, bug_number, bug_number)
line = self.exec_cmd (cmd)
p1 = line.find(" ")
p2 = line.find("<")