Merge pull request #8770 from deannagarcia/updateBzlVersion

Adding protobuf_version.bzl to update_version.py
pull/8776/head
deannagarcia 3 years ago committed by GitHub
commit 09b8ade1d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      update_version.py

@ -364,6 +364,13 @@ def UpdateRuby():
' 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 @@ UpdateObjectiveC()
UpdatePhp()
UpdatePython()
UpdateRuby()
UpdateBazel()

Loading…
Cancel
Save