Skip to content

Commit

Permalink
Add the deprecated packages to the upm feed (#34)
Browse files Browse the repository at this point in the history
(cherry picked from commit be84802)
  • Loading branch information
shaynie committed Aug 18, 2023
1 parent b99bd06 commit 799d7f3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Pipelines/Scripts/publish-upm.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 799d7f3

Please sign in to comment.