Skip to content

Commit 5e011fa

Browse files
committed
fix push error
1 parent a58b4d5 commit 5e011fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ Target "DotnetCorePushNuGet" (fun _ ->
787787
if not <| System.String.IsNullOrEmpty apikey then
788788
ExecProcess (fun info ->
789789
info.FileName <- nuget_exe
790-
info.Arguments <- sprintf "push '%s' '%s' -Source '%s'" nugetpackage apikey nugetsource) (System.TimeSpan.FromMinutes 5.)
790+
info.Arguments <- sprintf "push %s %s -Source %s" (toParam nugetpackage) (toParam apikey) (toParam nugetsource)) (System.TimeSpan.FromMinutes 5.)
791791
|> (fun r -> if r <> 0 then failwithf "failed to push package %s" nugetpackage)
792792

793793
// dotnet pack

0 commit comments

Comments
 (0)