diff --git a/src/SourceGit.csproj b/src/SourceGit.csproj index 009d2c89d..72251a45f 100644 --- a/src/SourceGit.csproj +++ b/src/SourceGit.csproj @@ -32,6 +32,24 @@ $(DefineConstants);DISABLE_UPDATE_DETECTION + + + + + + + + + + + diff --git a/src/Views/About.axaml b/src/Views/About.axaml index 265c60196..ab61bfeaa 100644 --- a/src/Views/About.axaml +++ b/src/Views/About.axaml @@ -71,6 +71,7 @@ + diff --git a/src/Views/About.axaml.cs b/src/Views/About.axaml.cs index f5dea0e59..6aee5f312 100644 --- a/src/Views/About.axaml.cs +++ b/src/Views/About.axaml.cs @@ -23,7 +23,10 @@ public About() if (attr.Key.Equals("BuildDate", StringComparison.OrdinalIgnoreCase) && DateTime.TryParse(attr.Value, out var date)) { TxtReleaseDate.Text = App.Text("About.ReleaseDate", Models.DateTimeFormat.Format(date, true)); - break; + } + else if (attr.Key.Equals("GitCommitHash", StringComparison.OrdinalIgnoreCase)) + { + TxtGitHash.Text = $"Build: {attr.Value}"; } }