Update r8 release script to account for more targets in google3
Change-Id: I7f11d76bfbb38943549ab5843adff9d0af499ffe
diff --git a/tools/r8_release.py b/tools/r8_release.py
index 56828c0..f7f0c15 100755
--- a/tools/r8_release.py
+++ b/tools/r8_release.py
@@ -389,9 +389,9 @@
result = re.search(version_match_regexp, line)
if result:
match_count = match_count + 1
- if match_count != 3:
+ if match_count != 4:
print(("Could not find the previous -dev release string to replace in " +
- "METADATA. Expected to find is mentioned 3 times. Please update %s " +
+ "METADATA. Expected to find is mentioned 4 times. Please update %s " +
"manually and run again with options --google3 " +
"--use-existing-work-branch.") % metadata_path)
sys.exit(1)