From aadcdbb9d376ddbf3b921cdeb6a8aa645ac55843 Mon Sep 17 00:00:00 2001 From: Mikel Blanchard Date: Mon, 30 Sep 2024 22:23:46 -0700 Subject: [PATCH] [repo] Include license files in packages (#2118) --- LICENSE => LICENSE.TXT | 0 build/Common.prod.props | 31 ++++++++----------- opentelemetry-dotnet-contrib.sln | 1 + src/Directory.Build.targets | 21 ++++++++----- .../OpenTelemetry.Exporter.Geneva.csproj | 1 + 5 files changed, 29 insertions(+), 25 deletions(-) rename LICENSE => LICENSE.TXT (100%) diff --git a/LICENSE b/LICENSE.TXT similarity index 100% rename from LICENSE rename to LICENSE.TXT diff --git a/build/Common.prod.props b/build/Common.prod.props index 52db728344..c402eaa2cc 100644 --- a/build/Common.prod.props +++ b/build/Common.prod.props @@ -6,10 +6,11 @@ https://github.com/open-telemetry/opentelemetry-dotnet-contrib https://OpenTelemetry.io Apache-2.0 + true + $(RepoRoot)\LICENSE.TXT opentelemetry-icon-color.png - OpenTelemetry authors + OpenTelemetry Authors Copyright The OpenTelemetry Authors - true $(MSBuildThisFileDirectory)/OpenTelemetryContrib.prod.ruleset $(NoWarn),1573,1712 $(Build_ArtifactStagingDirectory) @@ -19,13 +20,9 @@ - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - + + + @@ -55,11 +52,14 @@ snupkg - - + + + + + - + true @@ -69,14 +69,9 @@ - - - - - + Condition="'$(EnablePublicApi)' != 'false'"> diff --git a/opentelemetry-dotnet-contrib.sln b/opentelemetry-dotnet-contrib.sln index e7d54517db..6a322c454e 100644 --- a/opentelemetry-dotnet-contrib.sln +++ b/opentelemetry-dotnet-contrib.sln @@ -13,6 +13,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution items", "Solution CODEOWNERS = CODEOWNERS CONTRIBUTING.md = CONTRIBUTING.md global.json = global.json + LICENSE.TXT = LICENSE.TXT NuGet.config = NuGet.config opentelemetry-dotnet-contrib.proj = opentelemetry-dotnet-contrib.proj README.md = README.md diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index 986e063e61..0b683f6d32 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -1,18 +1,25 @@ + - - - all - runtime; build; native; contentfiles; analyzers - - - $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + + + + + diff --git a/src/OpenTelemetry.Exporter.Geneva/OpenTelemetry.Exporter.Geneva.csproj b/src/OpenTelemetry.Exporter.Geneva/OpenTelemetry.Exporter.Geneva.csproj index bc27891120..00e0b3e8ab 100644 --- a/src/OpenTelemetry.Exporter.Geneva/OpenTelemetry.Exporter.Geneva.csproj +++ b/src/OpenTelemetry.Exporter.Geneva/OpenTelemetry.Exporter.Geneva.csproj @@ -8,6 +8,7 @@ $(TargetFrameworks);net462 true An OpenTelemetry .NET exporter that exports to local ETW or UDS. + THIRD-PARTY-NOTICES.TXT $(NoWarn);SA1123;SA1310 Exporter.Geneva-