fix GitHub tag detection

This commit is contained in:
2025-11-22 14:05:27 +01:00
parent a6a3d9d5a9
commit c7b2fff7e7

View File

@@ -73,7 +73,7 @@ public class ModpackFactory
{
var repo = await github.Repository.Get(action.SourceOwner, action.SourceName);
var releases = await github.Repository.Release.GetAll(repo.Id);
return releases.Select(r => new ModVersionInfo(r.TagName, r.Name ?? r.TagName)).ToArray();
return releases.Select(r => new ModVersionInfo(r.Name ?? r.TagName, r.TagName)).ToArray();
}
catch
{