Skip to content

Commit 805261c

Browse files
author
davidkline-ms
committed
add extra foundation package cleanup step
1 parent a2bb458 commit 805261c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/packaging/createupmpackages.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ foreach ($entry in $packages.GetEnumerator()) {
163163
Remove-Item -Path $samplesFolder -Recurse -Force
164164
}
165165

166+
if ($packageName -eq "foundation") {
167+
# The foundation package MOVES some content around. This restores the moved files.
168+
Start-Process -FilePath "git" -ArgumentList "checkout Services/SceneSystem/SceneSystemResources*" -NoNewWindow -Wait
169+
}
170+
166171
# Delete the renamed package.json.* files
167172
Remove-Item -Path "$packagePath/package.json"
168173
Remove-Item -Path "$packagePath/package.json.meta"

0 commit comments

Comments
 (0)