Skip to content

Commit

Permalink
Add Update-Note printing to roll script.
Browse files Browse the repository at this point in the history
Change-Id: I0ee24a362baa94a2d64c1e5609185fb2c6f0b917
Reviewed-on: https://chromium-review.googlesource.com/899582
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: Steven Valdez <svaldez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#534089}
  • Loading branch information
Steven Valdez authored and Commit Bot committed Feb 2, 2018
1 parent 2308153 commit a36a4e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions third_party/boringssl/roll_boringssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ def main():
""" % (head[:9], commit[:9], head, commit)
subprocess.check_call(['git', 'commit', '-m', message], cwd=SRC_PATH)

# Print update notes.
notes = subprocess.check_output(['git', 'log', '--grep', '^Update-Note:', '-i', '%s..%s' % (head, commit)], cwd=BORINGSSL_SRC_PATH).strip()
if len(notes) > 0:
print "\x1b[1mThe following changes contain updating notes\x1b[0m:\n\n"
print notes

return 0


Expand Down

0 comments on commit a36a4e2

Please sign in to comment.