diff options
author | Frédéric Péters <fpeters@0d.be> | 2009-06-17 16:06:11 +0800 |
---|---|---|
committer | Frédéric Péters <fpeters@0d.be> | 2009-06-17 16:07:30 +0800 |
commit | e4aa4b036f8f7663b9a0b9362617bce544ac1a3e (patch) | |
tree | 907414d9d4ece514bf1e1a9557865b63d94529fc | |
parent | 7e6f8f16531da4f40ba4f3158d31fce863942bda (diff) | |
download | gsoc2013-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-x | release.py | 4 |
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("<") |