Sign the 'nupkg' files; CLI:release/2.1.3xx (#9086)
* Sign the 'nupkg' files. * Sign 'NuPkg' files with the 'NuGet' cert. * Use "Microsoft402"
This commit is contained in:
parent
ae75392078
commit
7d375481bc
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
|||
<!-- The signing infrastructure runs using MSBuild 14, which doesn't support some of the new syntax we're using. So set the BuildingSingingProject
|
||||
property here to avoid importing files we don't need for signing which would cause errors if imported when using MSBuild 14. -->
|
||||
<BuildingSigningProject>true</BuildingSigningProject>
|
||||
<ExternalCertificateId Condition="'$(ExternalCertificateId)' == ''">135020001</ExternalCertificateId>
|
||||
<InternalCertificateId Condition="'$(InternalCertificateId)' == ''">Microsoft402</InternalCertificateId>
|
||||
<NugetCertificateId Condition="'$(NugetCertificateId)' == ''">NuGet</NugetCertificateId>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\dir.props" />
|
||||
|
@ -106,6 +109,10 @@
|
|||
<FilesToSign Include="$(PackagesDirectory)/**/*.cab">
|
||||
<Authenticode>$(InternalCertificateId)</Authenticode>
|
||||
</FilesToSign>
|
||||
<FilesToSign Include="$(PackagesDirectory)/**/*.nupkg"
|
||||
Exclude="$(PackagesDirectory)/**/*symbols.nupkg">
|
||||
<Authenticode>$(NugetCertificateId)</Authenticode>
|
||||
</FilesToSign>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue