Skip to content

Commit ec2e56a

Browse files
committed
Make nupkg signing exclusion conditional
1 parent 0721c3b commit ec2e56a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

eng/Signing.props

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
<ItemsToSign Include="$(ArtifactsPackagesDir)**\*.tgz" />
2020
<ItemsToSign Include="$(VisualStudioSetupOutputPath)**\*.zip" />
2121

22-
<FileExtensionSignInfo Update=".nupkg" CertificateName="None" />
23-
2422
<!-- Expression Compiler dependencies that run in remote debugger must be signed with Microsoft101240624 certificate in order to work on Windows 10S -->
2523

2624
<FileSignInfo Include="Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.dll" CertificateName="Microsoft101240624"/>
@@ -64,4 +62,8 @@
6462
<FileSignInfo Include="StreamJsonRpc.dll" CertificateName="MicrosoftSHA2" />
6563
</ItemGroup>
6664

65+
<ItemGroup Condition="'$(PreReleaseVersionLabel)' == 'pr-validation' And '$(SignType)' == 'test'">
66+
<FileExtensionSignInfo Update=".nupkg" CertificateName="None" />
67+
</ItemGroup>
68+
6769
</Project>

0 commit comments

Comments
 (0)