Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

Commit 9f35314

Browse files
committed
Bring back the SetNuSpecProperties target
1 parent caa67e2 commit 9f35314

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Directory.Build.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,11 @@
1818
<PackageReference Include="Nerdbank.GitVersioning" Version="$(NerdbankGitVersioningVersion)" PrivateAssets="all" />
1919
</ItemGroup>
2020

21+
<Target Name="SetNuSpecProperties" BeforeTargets="GenerateNuspec" DependsOnTargets="GetBuildVersion">
22+
<PropertyGroup>
23+
<!-- https://github.com/NuGet/Home/issues/4649 -->
24+
<!--<NuSpecProperties>$(NuSpecProperties);GitCommitIdShort=$(GitCommitIdShort)</NuSpecProperties>-->
25+
<PackageLicenseUrl>https://raw.githubusercontent.com/AArnott/CodeGeneration.Roslyn/$(GitCommitIdShort)/LICENSE.txt</PackageLicenseUrl>
26+
</PropertyGroup>
27+
</Target>
2128
</Project>

0 commit comments

Comments
 (0)