nuget-to-nix: handle packages with mismatched nuspec case

e.g. cake.tool 3.0.0 which uses Cake.Tool.nuspec.
This commit is contained in:
David McFarland 2023-12-21 09:02:07 -04:00 committed by Gaetan Lepage
parent e8652a354f
commit a185ed85be

View file

@ -37,7 +37,7 @@ cd "$pkgs"
for package in *; do
cd "$package"
for version in *; do
id=$(xq -r .package.metadata.id "$version/$package".nuspec)
id=$(xq -r .package.metadata.id "$version"/*.nuspec)
if grep -qxF "$id.$version.nupkg" "$excluded_list"; then
continue