mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Fix: Version numbers in UI appeared with a suffix zero x.x.x.0 instead of x.x.x (#4521)
This commit is contained in:
parent
bb0e96a163
commit
2428b564fd
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ namespace BTCPayServer.Services
|
|||
readonly TorServices torServices;
|
||||
public BTCPayServerEnvironment(IWebHostEnvironment env, BTCPayNetworkProvider provider, TorServices torServices, BTCPayServerOptions opts)
|
||||
{
|
||||
Version = typeof(BTCPayServerEnvironment).GetTypeInfo().Assembly.GetCustomAttribute<AssemblyFileVersionAttribute>().Version;
|
||||
Version = typeof(BTCPayServerEnvironment).GetTypeInfo().Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion;
|
||||
Commit = typeof(BTCPayServerEnvironment).GetTypeInfo().Assembly.GetCustomAttribute<GitCommitAttribute>()?.ShortSHA;
|
||||
#if DEBUG
|
||||
Build = "Debug";
|
||||
|
|
Loading…
Add table
Reference in a new issue