by Nuget version

This commit is contained in:
Paul Schneider 2022-09-27 00:39:17 +01:00
commit c147eaf54a
8 changed files with 46 additions and 38 deletions

View file

@ -54,7 +54,7 @@ namespace isnd.Data.Packages
public RegistrationLeaf ToLeave(string bid)
{
if (Versions.Count == 0) throw new Exception("NO VERSION");
var v = Versions.OrderBy(w => w.SystemVersion).First();
var v = Versions.OrderBy(w => w.NugetVersion).First();
RegistrationLeaf leave = new RegistrationLeaf
{
Id = bid + Id + "/" + v.FullString + ".json",