From acd7e455107156587a2b4e1c80221a13c3826c96 Mon Sep 17 00:00:00 2001 From: alexmg Date: Wed, 21 Aug 2024 23:40:56 +1000 Subject: [PATCH] feat: Write FullSemVer as version for CLI tool --- src/Moniker.Cli/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Moniker.Cli/Program.cs b/src/Moniker.Cli/Program.cs index 39e3ebc..6018eb6 100644 --- a/src/Moniker.Cli/Program.cs +++ b/src/Moniker.Cli/Program.cs @@ -37,7 +37,7 @@ private static int Main(string[] args) private static string GetVersion() => (string)typeof(Program).Assembly .GetType("GitVersionInformation")! - .GetField("MajorMinorPatch")! + .GetField("FullSemVer")! .GetValue(null); } }