Merge pull request #9123 from johnbeisner/FixNupkgSigning

Mark both CLI NuPkgs as "NonShipping=true"
This commit is contained in:
Livar 2018-04-30 15:26:16 -07:00 committed by GitHub
commit d17f4ec94e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View file

@ -109,10 +109,6 @@
<FilesToSign Include="$(PackagesDirectory)/**/*.cab">
<Authenticode>$(InternalCertificateId)</Authenticode>
</FilesToSign>
<FilesToSign Include="$(PackagesDirectory)/**/*.nupkg"
Exclude="$(PackagesDirectory)/**/*symbols.nupkg">
<Authenticode>$(NugetCertificateId)</Authenticode>
</FilesToSign>
</ItemGroup>
</Target>

View file

@ -5,7 +5,9 @@
<ItemGroup>
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.Cli.Utils.*.nupkg"
Exclude="$(PackagesDirectory)/*.symbols.nupkg"
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' " />
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' " >
<ManifestArtifactData>NonShipping=true</ManifestArtifactData>
</NupkgsForPublishing>
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.MSBuildSdkResolver.*.nupkg"
Exclude="$(PackagesDirectory)/*.symbols.nupkg"
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' " >