Commit 774c2b6
authored
DownloadCargoBinaryFromGitHub: Find most recent release with assets (#410)
Currently, the `cargo-binstall` most recent release in the binstall repo
does not actually have the binstall binary. This change allows the
search to find the most recent release that has the expected binaries to
handle the case when other releases might also be in release list that
do not have the expected binaries.
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>1 parent 976aba5 commit 774c2b6
1 file changed
Lines changed: 17 additions & 10 deletions
Lines changed: 17 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
| |||
0 commit comments