Version 1.4.92
Cherry pick: Extend member pool collection to library types
CL: https://r8-review.googlesource.com/c/r8/+/36640
Cherry pick: Fix missing edge in member pool collection
CL: https://r8-review.googlesource.com/c/r8/+/36700
Cherry pick: Allow archiving when triggering cls
CL: https://r8-review.googlesource.com/c/r8/+/37522
Bug: 129794426, 65810338
Change-Id: If63127dde393c5f7cef4051e0e989be7dbe156fc
diff --git a/tools/archive.py b/tools/archive.py
index c37b304..e9233c7 100755
--- a/tools/archive.py
+++ b/tools/archive.py
@@ -47,6 +47,10 @@
def IsMaster(version):
branches = subprocess.check_output(['git', 'branch', '-r', '--contains',
'HEAD'])
+ # CL runs from gerrit does not have a branch, we always treat them as master
+ # commits to archive these to the hash based location
+ if len(branches) == 0:
+ return True
if not version.endswith('-dev'):
# Sanity check, we don't want to archive on top of release builds EVER
# Note that even though we branch, we never push the bots to build the same