Update versions in README files (#9093)

* update version numbers in java/README.md
* update lite too
pull/8002/head^2
Elliotte Rusty Harold 3 years ago committed by GitHub
parent 1ab7789f38
commit dd3a6486cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      update_version.py

@ -242,6 +242,24 @@ def UpdateJava():
lambda document : ReplaceText(
Find(document.documentElement, 'version'), GetFullVersion()))
RewriteTextFile('java/README.md',
lambda line : re.sub(
r'<version>.*</version>',
'<version>%s</version>' % GetFullVersion(),
line))
RewriteTextFile('java/README.md',
lambda line : re.sub(
r'implementation \'com.google.protobuf:protobuf-java:.*\'',
'implementation \'com.google.protobuf:protobuf-java:%s\'' % GetFullVersion(),
line))
RewriteTextFile('java/lite.md',
lambda line : re.sub(
r'<version>.*</version>',
'<version>%s</version>' % GetFullVersion(),
line))
def UpdateJavaScript():
RewriteTextFile('js/package.json',

Loading…
Cancel
Save