Skip to content

Commit aa0d9e4

Browse files
committed
fix package push
1 parent a06bf53 commit aa0d9e4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build.fsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,12 @@ Target.create "Push" (fun _ ->
116116
match getBuildParam "nuget-key" with
117117
| s when not (isNullOrWhiteSpace s) -> s
118118
| _ -> UserInput.getUserPassword "NuGet Key: "
119-
Paket.push (fun p -> { p with WorkingDir = packageDir; ApiKey = key }))
119+
DotNet.nugetPush (fun p ->
120+
{ p with
121+
PushParams = { p.PushParams with
122+
ApiKey = Some key } }
123+
) $"{packageDir}/*.nupkg"
124+
)
120125

121126
// --------------------------------------------------------------------------------------
122127
// Build order

0 commit comments

Comments
 (0)