aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2009-06-17 16:06:11 +0800
committerFrédéric Péters <fpeters@0d.be>2009-06-17 16:07:30 +0800
commite4aa4b036f8f7663b9a0b9362617bce544ac1a3e (patch)
tree907414d9d4ece514bf1e1a9557865b63d94529fc
parent7e6f8f16531da4f40ba4f3158d31fce863942bda (diff)
downloadgsoc2013-empathy-e4aa4b036f8f7663b9a0b9362617bce544ac1a3e.tar
gsoc2013-empathy-e4aa4b036f8f7663b9a0b9362617bce544ac1a3e.tar.gz
gsoc2013-empathy-e4aa4b036f8f7663b9a0b9362617bce544ac1a3e.tar.bz2
gsoc2013-empathy-e4aa4b036f8f7663b9a0b9362617bce544ac1a3e.tar.lz
gsoc2013-empathy-e4aa4b036f8f7663b9a0b9362617bce544ac1a3e.tar.xz
gsoc2013-empathy-e4aa4b036f8f7663b9a0b9362617bce544ac1a3e.tar.zst
gsoc2013-empathy-e4aa4b036f8f7663b9a0b9362617bce544ac1a3e.zip
[release script] also check for bug numbers with a variant form
-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("<")