Add b/ prefix to bug format.

Using the prefix enables links in gerrit and the issue tracker.

Change-Id: I462183001521ed58d049859cf5e483035c266ec0
diff --git a/tools/r8_release.py b/tools/r8_release.py
index 53a7dc9..ef7ea7a 100755
--- a/tools/r8_release.py
+++ b/tools/r8_release.py
@@ -258,7 +258,7 @@
 
 Built here: go/r8-releases/raw/%s
 Test: ./gradlew check
-Bug: %s""" % (version, version, '\nBug: '.join(bugs))
+Bug: %s""" % (version, version, '\nBug: '.join(map(bug_fmt, bugs)))
 
 
 def git_message_release(version, bugs):
@@ -267,8 +267,10 @@
 Built here: go/r8-releases/raw/%s/
 Test: ./gradlew check
 
-Bug: %s""" % (version, version, '\nBug: '.join(bugs))
+Bug: %s""" % (version, version, '\nBug: '.join(map(bug_fmt, bugs)))
 
+def bug_fmt(bug):
+  return "b/%s" % bug
 
 def prepare_studio(args):
   assert args.version
@@ -459,7 +461,7 @@
 Test: L8ToolTest, L8DexDesugarTest"""
                      % (library_version,
                         configuration_version,
-                        '\nBug: '.join(args.bug)))
+                        '\nBug: '.join(map(bug_fmt, args.bug))))
 
       if not args.use_existing_work_branch:
         subprocess.check_call(['git', 'commit', '-a', '-m', git_message])