Skip to content

Commit

Permalink
VCI-0: Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro committed Jan 13, 2022
1 parent a584ea9 commit a9fe364
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/VirtoCommerce.Build/PlatformTools/Build.InitPlatform.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Nuke.Common;
using PlatformTools;
using VirtoCommerce.Platform.Core.Common;
using VirtoCommerce.Platform.Core.Modularity;
using VirtoCommerce.Platform.DistributedLock;
using VirtoCommerce.Platform.Modules;

namespace VirtoCommerce.Build
{
Expand Down
2 changes: 1 addition & 1 deletion src/VirtoCommerce.Build/PlatformTools/GithubManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private static async Task<Release> GetLatestReleaseAsync(string repoUser, string
PageCount = 1,
});

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

Expand Down

0 comments on commit a9fe364

Please sign in to comment.