Skip to content

Commit

Permalink
Merge branch 'release/6.11.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
vc-ci committed Jan 23, 2023
2 parents 3a9a6e3 + 16c8e11 commit f53326a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Authors>VirtoCommerce</Authors>
</PropertyGroup>
<PropertyGroup>
<VersionPrefix>6.10.0</VersionPrefix>
<VersionPrefix>6.11.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using VirtoCommerce.Storefront.AutoRestClients.StoreModuleApi;
using VirtoCommerce.Storefront.Domain;
Expand Down Expand Up @@ -99,7 +100,9 @@ public async Task<SlugInfoResult> GetInfoBySlugAsync(string slug, [FromQuery] st
return result;
}

// GET: storefrontapi/version
[HttpGet("version")]
[AllowAnonymous]
public ActionResult Version()
{
return Ok(System.Diagnostics.FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).FileVersion);
Expand Down

0 comments on commit f53326a

Please sign in to comment.