File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -436,12 +436,17 @@ Target "NuGet" (fun _ ->
436436
437437Target " MergeDotnetCoreIntoNuget" ( fun _ ->
438438
439- let nupkg = tempDir </> sprintf " Paket.Core.%s .nupkg" ( release.NugetVersion) |> Path.GetFullPath
440- let netcoreNupkg = tempDir </> " dotnetcore" </> sprintf " Paket.Core.%s .nupkg" ( release.NugetVersion) |> Path.GetFullPath
441-
442439 let runTool = runCmdIn " tools" dotnetExePath
443440
444- runTool """ mergenupkg --source "%s " --other "%s " --framework netstandard2.0 """ nupkg netcoreNupkg
441+ let mergeNupkg packageName args =
442+ let nupkg = tempDir </> sprintf " %s .%s .nupkg" packageName ( release.NugetVersion) |> Path.GetFullPath
443+ let netcoreNupkg = tempDir </> " dotnetcore" </> sprintf " %s .%s .nupkg" packageName ( release.NugetVersion) |> Path.GetFullPath
444+
445+ runTool """ mergenupkg --source "%s " --other "%s " %s """ nupkg netcoreNupkg args
446+
447+ mergeNupkg " Paket.Core" " --framework netstandard2.0"
448+ mergeNupkg " Paket" " --tools"
449+ mergeNupkg " paket.bootstrapper" " --tools"
445450)
446451
447452Target " PublishNuGet" ( fun _ ->
You can’t perform that action at this time.
0 commit comments