Skip to content

Commit 3546c33

Browse files
authored
Merge pull request #80752 from compnerd/staging
utils: correctly stage MSMs for Windows Runtime
2 parents 0caa9b5 + 1c2cc68 commit 3546c33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/build.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3169,7 +3169,9 @@ function Build-Installer([Hashtable] $Platform) {
31693169
function Copy-BuildArtifactsToStage([Hashtable] $Platform) {
31703170
Copy-File "$BinaryCache\$($Platform.Triple)\installer\Release\$($Platform.Architecture.VSName)\*.cab" $Stage
31713171
Copy-File "$BinaryCache\$($Platform.Triple)\installer\Release\$($Platform.Architecture.VSName)\*.msi" $Stage
3172-
Copy-File "$BinaryCache\$($Platform.Triple)\installer\Release\$($Platform.Architecture.VSName)\*.msm" $Stage
3172+
foreach ($SDKPlatform in $WindowsSDKPlatforms) {
3173+
Copy-File "$BinaryCache\$($Platform.Triple)\installer\Release\$($SDKPlatform.Architecture.VSName)\*.msm" $Stage
3174+
}
31733175
Copy-File "$BinaryCache\$($Platform.Triple)\installer\Release\$($Platform.Architecture.VSName)\installer.exe" $Stage
31743176
# Extract installer engine to ease code-signing on swift.org CI
31753177
if ($ToBatch) {

0 commit comments

Comments
 (0)