Skip to content

Commit 95910ca

Browse files
Ignore failures when new package isn't indexed yet. (#25017)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
1 parent 76d9191 commit 95910ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eng/common/pipelines/templates/jobs/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
$packageTags = npm view $packageJson.name "dist-tags" -json -silent | ConvertFrom-Json
100100
if ($LASTEXITCODE -ne 0 -or !$packageTags) {
101101
Write-Warning "Failed to retrieve dist-tags for $packageJson.name. It is possible the package hasn't been indexed yet so ignoring."
102+
$global:LASTEXITCODE = 0
102103
continue
103104
}
104105

0 commit comments

Comments
 (0)