Skip to content

Commit 48364da

Browse files
committed
Switch to using the source branch that's set in our builds.
1 parent 131977c commit 48364da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Installer/redist-installer/targets/BundledManifests.targets

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@
5050
</ItemGroup>
5151

5252
<Target Name="ValidateBundledManifestSigning"
53-
Condition=" '$(OS)' == 'Windows_NT' and '$(Architecture)' != 'arm' and '$(Sign)' == 'true' ">
53+
Condition=" '$(OS)' == 'Windows_NT' and
54+
'$(Architecture)' != 'arm' and
55+
$(BUILD_SOURCEBRANCH) != '' and
56+
$(BUILD_SOURCEBRANCH.Contains('release')) ">
5457
<PropertyGroup>
5558
<SignCheckExe>$(PkgMicrosoft_DotNet_SignCheck)\tools\Microsoft.DotNet.SignCheck.exe</SignCheckExe>
5659
<SignCheckLog Condition="'$(SignCheckLog)' == ''">$(ArtifactsLogDir)\workloadmanifestsigncheck.log</SignCheckLog>

0 commit comments

Comments
 (0)