Fix publish error

上级 1a7ef4c4
......@@ -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.
先完成此消息的编辑!
想要评论请 注册