Make the target_build_zip file name heuristic more general.

Previously it assumed builds ended in "-userdebug" or "-eng", but there
are other build modifiers. Now it assumes everything after the first
dash is a build modifier that doesn't affect the file names.

Bug: 140580475
Test: Run fetch_cvd on build that does not match -userdebug or -eng.
Change-Id: I7f6907b54a5720860b7727b2276c179c57db6799
1 file changed
tree: 71ce50c76a8a318046183638a05ce82a8e84b08e
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS
  9. TEST_MAPPING