Rm NOVERSION_FILENAMES "{ name }{ archive-suffix }" (#795)

which does not contain `target`, hence it might report the binary being
available for any target we specified.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-02-13 13:44:24 +11:00 committed by GitHub
parent 87686cb2f7
commit 04113e9dd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View file

@ -71,7 +71,6 @@ are:
- `{ name }_{ version }_{ target }{ archive-suffix }` - `{ name }_{ version }_{ target }{ archive-suffix }`
- `{ name }_v{ version }_{ target }{ archive-suffix }` - `{ name }_v{ version }_{ target }{ archive-suffix }`
- `{ name }-{ target }{ archive-suffix }` ("versionless") - `{ name }-{ target }{ archive-suffix }` ("versionless")
- `{ name }{ archive-suffix }` ("versionless")
- `{ name }_{ target }{ archive-suffix }` ("versionless") - `{ name }_{ target }{ archive-suffix }` ("versionless")
The paths are: The paths are:

View file

@ -27,7 +27,6 @@ pub const FULL_FILENAMES: &[&str] = &[
pub const NOVERSION_FILENAMES: &[&str] = &[ pub const NOVERSION_FILENAMES: &[&str] = &[
"{ name }-{ target }{ archive-suffix }", "{ name }-{ target }{ archive-suffix }",
"{ name }{ archive-suffix }",
"{ name }_{ target }{ archive-suffix }", "{ name }_{ target }{ archive-suffix }",
]; ];