Skip to content

Commit

Permalink
feat: Write FullSemVer as version for CLI tool
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmg committed Aug 21, 2024
1 parent 4c14d6a commit acd7e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Moniker.Cli/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit acd7e45

Please sign in to comment.