From 34df6176fe19ee75e0764118214d5886d7ccf6cf Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Wed, 28 Sep 2022 14:03:36 +1000 Subject: [PATCH] Add more to `possible_dirs` (#441) Signed-off-by: Jiahao XU --- crates/binstalk/src/bins.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/binstalk/src/bins.rs b/crates/binstalk/src/bins.rs index 0185478b..8f93fe67 100644 --- a/crates/binstalk/src/bins.rs +++ b/crates/binstalk/src/bins.rs @@ -45,6 +45,9 @@ pub fn infer_bin_dir_template(data: &Data) -> Cow<'static, str> { format!("{name}-{version}-{target}"), format!("{name}-v{version}-{target}"), format!("{name}-{target}"), + // Ignore the following when updating hosting::{FULL_FILENAMES, NOVERSION_FILENAMES} + format!("{name}-{version}"), + format!("{name}-v{version}"), name.to_string(), ];