commit | 39867861824a773ea2e54e3057afcaeefa60c2d0 | [log] [tgz] |
---|---|---|
author | Hao Nguyen <haon@google.com> | Mon May 13 17:25:48 2019 -0700 |
committer | Hao Nguyen <haon@google.com> | Mon May 13 17:25:48 2019 -0700 |
tree | 04fe08bc220885ff5851479d111d93f2d6d99a00 | |
parent | ec1a70913e5793a7d0a7b5fbf7e0e4f75409dd41 [diff] [blame] |
Make sure to return the updated line when modifying .pb.h file
diff --git a/update_version.py b/update_version.py index 09d7865..187e7e6 100755 --- a/update_version.py +++ b/update_version.py
@@ -156,6 +156,7 @@ r'^#if .* < PROTOBUF_MIN_PROTOC_VERSION$', '#if %s < PROTOBUF_MIN_PROTOC_VERSION' % cpp_version, line) + return line RewriteTextFile('src/google/protobuf/stubs/common.h', RewriteCommon) RewriteTextFile('src/google/protobuf/port_def.inc', RewritePortDef)