Skip to content

Commit

Permalink
Merge pull request #8770 from deannagarcia/updateBzlVersion
Browse files Browse the repository at this point in the history
Adding protobuf_version.bzl to update_version.py
  • Loading branch information
deannagarcia committed Jun 28, 2021
2 parents 991bcad + 66d26f3 commit 09b8ade
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions update_version.py
Expand Up @@ -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()
Expand All @@ -375,3 +382,4 @@ def UpdateRuby():
UpdatePhp()
UpdatePython()
UpdateRuby()
UpdateBazel()

0 comments on commit 09b8ade

Please sign in to comment.