From 671b14c0edb3eec807f6efa091f0476b4277d7b0 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Tue, 27 Feb 2024 14:06:07 +0000 Subject: [PATCH] Fix hardcoded metadata.json --- src/providers/gitlab.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/gitlab.rs b/src/providers/gitlab.rs index 572f04e..f5ccc7b 100644 --- a/src/providers/gitlab.rs +++ a/src/providers/gitlab.rs @@ -107,7 +107,7 @@ // 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)); } -- rgit 0.1.3