Skip to content

Commit ff3cf91

Browse files
committed
Fix PackageLicenseUrl
Also don't require explicit acceptance of the license
1 parent c09ca3e commit ff3cf91

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Cake.GitVersioning/Cake.GitVersioning.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
<Description>Cake wrapper for Nerdbank.GitVersioning. Stamps your assemblies with semver 2.0 compliant git commit specific version information and provides NuGet versioning information as well.</Description>
99
<Copyright>Copyright © Andrew Arnott</Copyright>
1010
<PackageTags>git commit versioning version assemblyinfo</PackageTags>
11-
<PackageLicenseUrl>https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/39ac76891c/LICENSE.txt</PackageLicenseUrl>
12-
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
1311
<PackageProjectUrl>http://github.com/aarnott/Nerdbank.GitVersioning</PackageProjectUrl>
1412
<SignAssembly>false</SignAssembly>
1513
</PropertyGroup>
@@ -49,4 +47,9 @@
4947
</Content>
5048
</ItemGroup>
5149

50+
<Target Name="SetNuSpecProperties" BeforeTargets="GenerateNuspec" DependsOnTargets="GetBuildVersion">
51+
<PropertyGroup>
52+
<PackageLicenseUrl>https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/$(GitCommitIdShort)/LICENSE.txt</PackageLicenseUrl>
53+
</PropertyGroup>
54+
</Target>
5255
</Project>

0 commit comments

Comments
 (0)