Add more to possible_dirs (#441)

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-09-28 14:03:36 +10:00 committed by GitHub
parent f482e362ba
commit 34df6176fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(),
];