From 04113e9dd95342e34e3bb612b91a74d47b04f9be Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Mon, 13 Feb 2023 13:44:24 +1100 Subject: [PATCH] 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 --- SUPPORT.md | 1 - crates/binstalk/src/fetchers/gh_crate_meta/hosting.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/SUPPORT.md b/SUPPORT.md index d0ff18506..d47dc42e6 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -71,7 +71,6 @@ are: - `{ name }_{ version }_{ target }{ archive-suffix }` - `{ name }_v{ version }_{ target }{ archive-suffix }` - `{ name }-{ target }{ archive-suffix }` ("versionless") -- `{ name }{ archive-suffix }` ("versionless") - `{ name }_{ target }{ archive-suffix }` ("versionless") The paths are: diff --git a/crates/binstalk/src/fetchers/gh_crate_meta/hosting.rs b/crates/binstalk/src/fetchers/gh_crate_meta/hosting.rs index 00a030faf..34e4c74ea 100644 --- a/crates/binstalk/src/fetchers/gh_crate_meta/hosting.rs +++ b/crates/binstalk/src/fetchers/gh_crate_meta/hosting.rs @@ -27,7 +27,6 @@ pub const FULL_FILENAMES: &[&str] = &[ pub const NOVERSION_FILENAMES: &[&str] = &[ "{ name }-{ target }{ archive-suffix }", - "{ name }{ archive-suffix }", "{ name }_{ target }{ archive-suffix }", ];