Skip to content

Commit

Permalink
VCI-935: Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro committed Oct 23, 2024
1 parent 0ceeacb commit b126fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VirtoCommerce.Build/PlatformTools/GithubManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private static async Task<Release> GetLatestReleaseAsync(string repoUser, string

});

var release = releases.Where(r => r.Prerelease == false).OrderByDescending(r => new Version(r.TagName.Trim())).FirstOrDefault();
var release = releases.Where(r => !r.Prerelease).OrderByDescending(r => new Version(r.TagName.Trim())).FirstOrDefault();
return release;
}

Expand Down

0 comments on commit b126fe6

Please sign in to comment.