Skip to content

Commit

Permalink
Change ICompile component to report NuGet package version
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Mar 12, 2023
1 parent 188d7a0 commit 565eb99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Nuke.Components/ICompile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ public interface ICompile : IRestore, IHazConfiguration
{
ReportSummary(_ => _
.WhenNotNull(this as IHazGitVersion, (_, o) => _
.AddPair("Version", o.Versioning.FullSemVer))
.AddPair("Version", o.Versioning.NuGetVersionV2))
.WhenNotNull(this as IHazNerdbankGitVersioning, (_, o) => _
.AddPair("Version", o.Versioning.SemVer2)));
.AddPair("Version", o.Versioning.NuGetPackageVersion)));
DotNetBuild(_ => _
.Apply(CompileSettingsBase)
Expand Down

0 comments on commit 565eb99

Please sign in to comment.