fix: fix BuildInfo not being initialized
This commit is contained in:
parent
588afeec20
commit
24155a149c
2 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,9 @@ using Microsoft.AspNetCore.Mvc;
|
|||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Serialization;
|
||||
|
||||
// Read version information from .version in the repository root
|
||||
await BuildInfo.ReadBuildInfo();
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
var config = builder.AddConfiguration();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue