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 <firstname.lastname@example.org>
Tested-by: Nick Sanders <email@example.com>
Legacy-Commit-Queue: Commit Bot <firstname.lastname@example.org>
Reviewed-by: Congbin Guo <email@example.com>
Reviewed-by: Amin Hassani <firstname.lastname@example.org>
1 file changed