Skip to content

Commit 35b5e66

Browse files
authored
Merge pull request #7524 from dibarbet/fix_publish
Reorder publish args
2 parents dc82947 + 6ecdc2c commit 35b5e66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

azure-pipelines/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,14 @@ extends:
8989
$publishArtifacts = $allArtifacts[0]
9090
Write-Host "All artifacts: $($allArtifacts). Publishing $($publishArtifacts)."
9191
92-
$basePublishArgs = , "publish --azure-credential"
92+
$basePublishArgs = , "publish"
9393
If ( $uploadPrerelease ) {
9494
$basePublishArgs += "--pre-release"
9595
Write-Host "Publish to pre-release channel."
9696
} Else {
9797
Write-Host "Publish to release channel."
9898
}
99+
$basePublishArgs += '--azure-credential'
99100
$basePublishArgs += '--packagePath'
100101
$publishArgs = $basePublishArgs + (Get-ChildItem $publishArtifacts\*.vsix | Sort-Object Name -Descending |% { $_ })
101102

0 commit comments

Comments
 (0)