diff --git a/src/VirtoCommerce.Build/PlatformTools/GithubManager.cs b/src/VirtoCommerce.Build/PlatformTools/GithubManager.cs index eea6a22..b188d81 100644 --- a/src/VirtoCommerce.Build/PlatformTools/GithubManager.cs +++ b/src/VirtoCommerce.Build/PlatformTools/GithubManager.cs @@ -42,7 +42,7 @@ private static async Task 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; }