fix GitHub tag detection
This commit is contained in:
@@ -73,7 +73,7 @@ public class ModpackFactory
|
|||||||
{
|
{
|
||||||
var repo = await github.Repository.Get(action.SourceOwner, action.SourceName);
|
var repo = await github.Repository.Get(action.SourceOwner, action.SourceName);
|
||||||
var releases = await github.Repository.Release.GetAll(repo.Id);
|
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
|
catch
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user