William Woodruff 5e0e0d56af
attestation: remove gh version detection
I'm declaring bankruptcy on this entire approach:

1. We can attempt to match on versions, but this will fail
   when the version of `gh` installed is built from `HEAD`
   or similar.
2. We can match on dates instead (since `gh --version` also includes
   the date), but this is even more brittle + implies a support
   contract we don't actually have (we don't actually want
   to say we support random dated builds between public releases
   of `gh`).

This moves us back to a simpler approach: if `gh` is present,
we use it. If `gh` is not present, we attempt to install it
with `ensure_executable!`. If the user's `gh` is present but too old,
it'll fail during attestation verification with a reasonable error,
which IMO is fine for now since this is all still in beta.

Signed-off-by: William Woodruff <william@yossarian.net>
2024-07-29 13:13:55 -04:00
..
2024-06-15 19:08:53 +10:00
2024-05-01 11:35:21 +02:00
2024-06-14 03:32:38 +01:00
2024-07-13 15:36:34 -04:00
2024-07-14 08:49:39 -04:00
2024-03-06 15:10:14 +01:00
2024-05-09 13:10:37 +01:00
2024-04-03 09:12:47 -07:00
2024-07-04 01:47:14 -04:00
2024-03-30 19:10:56 -07:00
2024-03-21 10:11:50 -04:00
2024-04-03 09:12:47 -07:00
2024-05-09 13:10:37 +01:00
2024-06-30 23:23:52 -04:00
2024-07-09 20:01:43 -04:00
2024-07-04 01:47:14 -04:00