From 79e2b29c98b4e47bc99dd816ac99f192b8dd76b3 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Sun, 2 Nov 2025 13:04:20 +0100 Subject: [PATCH] Show assembly version This PR fixes a long-standing issue where the reported version number is just the tag with a `-` prefix. This was caused by the logic dropping the assembly version number if a tag exists, but prefixing it with a dash. The fix is to now show both the assembly version and the tag. --- Duplicati/License/VersionNumbers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/License/VersionNumbers.cs b/Duplicati/License/VersionNumbers.cs index 98a4bb71a..6d0723225 100644 --- a/Duplicati/License/VersionNumbers.cs +++ b/Duplicati/License/VersionNumbers.cs @@ -57,7 +57,7 @@ namespace Duplicati.License var v = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); if (!string.IsNullOrWhiteSpace(TAG)) - v = " - " + TAG; + v += " - " + TAG; #if DEBUG v = " - debug"; #endif