未验证 提交 cacd3b7f 编写于 作者: J Jared Parsons 提交者: GitHub

Merge pull request #26433 from jaredpar/fix-publish

Fix publish error
......@@ -40,7 +40,7 @@ function Publish-NuGet([string]$packageDir, [string]$uploadUrl) {
try {
Write-Host "Publishing $(Split-Path -leaf $packageDir) to $uploadUrl"
$apiKey = Get-PublishKey $uploadUrl
foreach ($package in *.nupkg) {
foreach ($package in Get-ChildItem *.nupkg) {
$nupkg = Split-Path -Leaf $package
Write-Host " Publishing $nupkg"
if (-not (Test-Path $nupkg)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册