Skip to content

Commit

Permalink
chore: Update packaging to use PackageLicenseExpression
Browse files Browse the repository at this point in the history
We still include the license file within the package, so we continue
to meet all obligations, but this is easier for customers to validate.
  • Loading branch information
jskeet committed Mar 15, 2023
1 parent 84d2f87 commit d7b9082
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Copyright>Copyright 2022 Google LLC</Copyright>
<PackageTags>Google</PackageTags>
<PackageProjectUrl>https://github.com/google/google-api-dotnet-client</PackageProjectUrl>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/google/google-api-dotnet-client</RepositoryUrl>
<PackageIconUrl>https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png</PackageIconUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Copyright>Copyright 2022 Google LLC</Copyright>
<PackageTags>Google</PackageTags>
<PackageProjectUrl>https://github.com/google/google-api-dotnet-client</PackageProjectUrl>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/google/google-api-dotnet-client</RepositoryUrl>
<PackageIconUrl>https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png</PackageIconUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Copyright>Copyright 2022 Google LLC</Copyright>
<PackageTags>Google</PackageTags>
<PackageProjectUrl>https://github.com/google/google-api-dotnet-client</PackageProjectUrl>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/google/google-api-dotnet-client</RepositoryUrl>
<PackageIconUrl>https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png</PackageIconUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Copyright>Copyright 2022 Google LLC</Copyright>
<PackageTags>Google</PackageTags>
<PackageProjectUrl>https://github.com/google/google-api-dotnet-client</PackageProjectUrl>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/google/google-api-dotnet-client</RepositoryUrl>
<PackageIconUrl>https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png</PackageIconUrl>
Expand Down
2 changes: 1 addition & 1 deletion Google.Api.Generator.Rest/Models/PackageModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ public XDocument GenerateProjectFile(IClock clock)
new XElement("Copyright", $"Copyright {clock.GetCurrentDateTimeUtc().Year} {(_discoveryDoc.OwnerName == "Google" ? "Google LLC" : _discoveryDoc.OwnerName)}"),
new XElement("PackageTags", "Google"),
new XElement("PackageProjectUrl", "https://github.com/google/google-api-dotnet-client"),
new XElement("PackageLicenseFile", "LICENSE"),
new XElement("PackageLicenseExpression", "Apache-2.0"),
new XElement("RepositoryType", "git"),
new XElement("RepositoryUrl", "https://github.com/google/google-api-dotnet-client"),
new XElement("PackageIconUrl", "https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png"),
Expand Down

0 comments on commit d7b9082

Please sign in to comment.