diff --git a/src/providers/gitlab.rs b/src/providers/gitlab.rs index 572f04e..f5ccc7b 100644 --- a/src/providers/gitlab.rs +++ b/src/providers/gitlab.rs @@ -107,7 +107,7 @@ impl Gitlab { // any crate releases must contain a metadata.json if !package_files .iter() - .any(|package_file| package_file.file_name == "metadata.json") + .any(|package_file| package_file.file_name == self.metadata_format.filename()) { return Ok(Yoke::attach_to_cart(Vec::new(), |_| None)); }