Skip to content

Commit 00636ec

Browse files
azure-sdkscbedd
andauthored
Sync eng/common directory with azure-sdk-tools for PR 14918 (#48710)
* use doc-warden from feed directly. no more pypi --------- Co-authored-by: Scott Beddall <scbedd@microsoft.com>
1 parent 3116f29 commit 00636ec

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

eng/common/scripts/Verify-Readme.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ param (
1010
)
1111
. (Join-Path $PSScriptRoot common.ps1)
1212
$DefaultDocWardenVersion = "0.7.3"
13+
$FeedUrl = "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/"
1314
$script:FoundError = $false
1415

1516
function Test-Readme-Files {
@@ -87,10 +88,11 @@ if ($LASTEXITCODE -ne 0) {
8788
LogError "pip install setuptools wheel --quiet failed with exit code $LASTEXITCODE"
8889
exit 1
8990
}
90-
Write-Host "pip install doc-warden==$DocWardenVersion --quiet"
91-
pip install doc-warden==$DocWardenVersion --quiet
91+
92+
Write-Host "pip install doc-warden==$DocWardenVersion --quiet --index-url $FeedUrl"
93+
pip install doc-warden==$DocWardenVersion --quiet --index-url $FeedUrl
9294
if ($LASTEXITCODE -ne 0) {
93-
LogError "pip install doc-warden==$DocWardenVersion --quiet failed with exit code $LASTEXITCODE"
95+
LogError "pip install doc-warden==$DocWardenVersion --quiet --index-url $FeedUrl failed with exit code $LASTEXITCODE"
9496
exit 1
9597
}
9698

0 commit comments

Comments
 (0)