From 799d7f3e2f7fd2aa6335f6332f09586b4e93a889 Mon Sep 17 00:00:00 2001 From: Scott Haynie Date: Fri, 18 Aug 2023 10:17:06 -0700 Subject: [PATCH] Add the deprecated packages to the upm feed (#34) (cherry picked from commit be84802400f99604ce403f72344576aad9ecc22b) --- Pipelines/Scripts/publish-upm.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Pipelines/Scripts/publish-upm.ps1 b/Pipelines/Scripts/publish-upm.ps1 index 7cd60cb36..6ce11fd67 100644 --- a/Pipelines/Scripts/publish-upm.ps1 +++ b/Pipelines/Scripts/publish-upm.ps1 @@ -44,6 +44,15 @@ try { Write-Output "=======================" npm publish $_ } + + # Publish the deprecated package files + Get-ChildItem -Path $PackageDirectory -Filter "com.microsoft.mrtk.*.tgz" | ForEach-Object { + Write-Output "=======================" + Write-Output "Publishing: $($_.Name) " + Write-Output "=======================" + npm publish $_ + } + } finally { if ($RegistryPath) {