mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Support default filename with underscores. (#495)
This is the default format used by github action rust-build/rust-build.
This commit is contained in:
parent
087d69da6e
commit
d90547c818
2 changed files with 11 additions and 2 deletions
|
@ -18,11 +18,16 @@ pub const FULL_FILENAMES: &[&str] = &[
|
|||
"{ name }-{ target }-{ version }{ archive-suffix }",
|
||||
"{ name }-{ version }-{ target }{ archive-suffix }",
|
||||
"{ name }-v{ version }-{ target }{ archive-suffix }",
|
||||
"{ name }_{ target }_v{ version }{ archive-suffix }",
|
||||
"{ name }_{ target }_{ version }{ archive-suffix }",
|
||||
"{ name }_{ version }_{ target }{ archive-suffix }",
|
||||
"{ name }_v{ version }_{ target }{ archive-suffix }",
|
||||
];
|
||||
|
||||
pub const NOVERSION_FILENAMES: &[&str] = &[
|
||||
"{ name }-{ target }{ archive-suffix }",
|
||||
"{ name }{ archive-suffix }",
|
||||
"{ name }_{ target }{ archive-suffix }",
|
||||
];
|
||||
|
||||
impl RepositoryHost {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue