Index: infra/tools/antibody/git_commit_parser.py |
diff --git a/infra/tools/antibody/git_commit_parser.py b/infra/tools/antibody/git_commit_parser.py |
index 7510743aeb2551e3424586ce78193f58651e543c..c49eddaeb639b33fa64aa4ebfda09bd7f31312a8 100644 |
--- a/infra/tools/antibody/git_commit_parser.py |
+++ b/infra/tools/antibody/git_commit_parser.py |
@@ -79,12 +79,14 @@ def get_tbr(git_line): |
# identify the correct one |
def get_review_url(git_line): |
review_url = None |
- if re.match(r'^Review:.+$', git_line): |
+ if re.match(r'^Review: .+$', git_line): |
review_url = git_line[8:] |
- elif re.match(r'^Review URL:.+$', git_line): |
+ elif re.match(r'^Review URL: .+$', git_line): |
review_url = git_line[12:] |
- elif re.match(r'^Code review URL:.+$', git_line): |
+ elif re.match(r'^Code review URL: .+$', git_line): |
review_url = git_line[17:] |
+ elif re.match(r'^Reviewed-on: .+$', git_line): |
+ review_url = git_line[13:] |
return review_url |