Skip to content

Commit

Permalink
Merge branch 'release/2.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro committed Jan 13, 2022
2 parents e8ff5b7 + a9fe364 commit 8a03609
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project>
<?xml version="1.0" encoding="utf-8"?><Project>
<!-- These properties will be shared for all projects -->

<PropertyGroup>
<Product>VirtoCommerce</Product>
<Copyright>Copyright © VirtoCommerce 2011-2021</Copyright>
</PropertyGroup>
<PropertyGroup>
<VersionPrefix>2.3.0</VersionPrefix>
<VersionPrefix>2.4.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
</PropertyGroup>
Expand Down
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 8a03609

Please sign in to comment.