build_artifact: select correct signed image
xbuddy has a concept of "signed" image, but there are actually
a number of signed artifacts. The only one you'd be likely to
want to flash to USB would be the recovery image though.
This regex specifies that this should be a recovery image.
Example failing case:
Currently fails due to two matches. Retreives the correct
image with this change.
TEST=cros flash usb:// xbuddy://remote/flapjack/latest-canary/signed
Commit-Ready: Nick Sanders <email@example.com>
Tested-by: Nick Sanders <firstname.lastname@example.org>
Legacy-Commit-Queue: Commit Bot <email@example.com>
Reviewed-by: Congbin Guo <firstname.lastname@example.org>
Reviewed-by: Amin Hassani <email@example.com>
1 file changed