Skip to content

Commit 4cf0c80

Browse files
committed
Simplify linking to license file
1 parent d3183a9 commit 4cf0c80

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/ImmutableObjectGraph.Generation.NuGet/ImmutableObjectGraph.Generation.NuGet.nuproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,7 @@
7373
<Target Name="GetNuPkgVersion" DependsOnTargets="GetBuildVersion">
7474
<PropertyGroup>
7575
<Version>$(NuGetPackageVersion)</Version>
76-
</PropertyGroup>
77-
</Target>
78-
<Target Name="PerformNuSpecSubstitutions" BeforeTargets="GenerateNuSpec" DependsOnTargets="GetBuildVersion">
79-
<PropertyGroup>
80-
<LicenseUrl>$(LicenseUrl.Replace('$CommitId$', $(GitCommitId)))</LicenseUrl>
76+
<NuSpecProperties>$(NuGetProperties);CommitId=$(GitCommitIdShort)</NuSpecProperties>
8177
</PropertyGroup>
8278
</Target>
8379
</Project>

0 commit comments

Comments
 (0)