[empathy] [release script] also check for bug numbers with a variant form
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] [release script] also check for bug numbers with a variant form
- Date: Wed, 17 Jun 2009 04:08:30 -0400 (EDT)
commit e4aa4b036f8f7663b9a0b9362617bce544ac1a3e
Author: Frédéric Péters <fpeters 0d be>
Date: Wed Jun 17 10:06:11 2009 +0200
[release script] also check for bug numbers with a variant form
release.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/release.py b/release.py
index 13fa386..c7b7733 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("<")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]