We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d76befa commit 33809beCopy full SHA for 33809be
eng/common/scripts/Update-DocsMsPackages.ps1
@@ -26,7 +26,9 @@ param (
26
[string] $DocRepoLocation, # the location of the cloned doc repo
27
28
[Parameter(Mandatory = $false)]
29
- [string] $PackageSourceOverride
+ [string] $PackageSourceOverride,
30
+
31
+ [switch] $SkipLegacyOnboarding
32
)
33
34
. (Join-Path $PSScriptRoot common.ps1)
@@ -57,7 +59,11 @@ function PackageIsValidForDocsOnboarding($package) {
57
59
-DocRepoLocation $DocRepoLocation
58
60
}
61
-$MONIKERS = @('latest', 'preview', 'legacy')
62
+$MONIKERS = @('latest', 'preview')
63
+if (!$SkipLegacyOnboarding) {
64
+ $MONIKERS += 'legacy'
65
+}
66
67
foreach ($moniker in $MONIKERS) {
68
try {
69
Write-Host "Onboarding packages for moniker: $moniker"
0 commit comments