Adding protobuf_version.bzl to get updated version in python script
diff --git a/update_version.py b/update_version.py
index 5395bd8..9cf1dbf 100755
--- a/update_version.py
+++ b/update_version.py
@@ -364,6 +364,13 @@
       '  s.version     = "%s"' % GetFullVersion(rc_suffix = '.rc.'),
       line))
 
+def UpdateBazel():
+  RewriteTextFile('protobuf_version.bzl',
+    lambda line : re.sub(
+     r"^PROTOBUF_VERSION = '.*'$",
+     "PROTOBUF_VERSION = '%s'" % GetFullVersion(),
+     line))
+
 
 UpdateConfigure()
 UpdateCsharp()
@@ -375,3 +382,4 @@
 UpdatePhp()
 UpdatePython()
 UpdateRuby()
+UpdateBazel()