From d972f5f478787b2610e309713b042d47983bc16a Mon Sep 17 00:00:00 2001 From: Christoph Ruegg Date: Sat, 10 Feb 2018 20:32:46 +0100 Subject: [PATCH] Build: NuGet push no longer passes outdated source URI --- build.fsx | 6 ------ build/build-framework.fsx | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/build.fsx b/build.fsx index 99ef5b42..703b3998 100644 --- a/build.fsx +++ b/build.fsx @@ -526,12 +526,6 @@ Target "OpenBlasWinZip" (fun _ -> // NUGET -let dotnetPack solution = DotNetCli.Pack (fun p -> - { p with - Project = solution - Configuration = "Release" - AdditionalArgs = ["--no-restore"; "--no-build" ]}) - Target "NuGet" (fun _ -> pack "MathNet.Numerics.sln" CopyDir "out/packages/NuGet" "src/Numerics/bin/Release/" (fun n -> n.EndsWith(".nupkg")) diff --git a/build/build-framework.fsx b/build/build-framework.fsx index 482c1b48..19c98732 100644 --- a/build/build-framework.fsx +++ b/build/build-framework.fsx @@ -365,7 +365,7 @@ let publishNuGet packageFiles = let rec impl trials file = trace ("NuGet Push: " + System.IO.Path.GetFileName(file) + ".") try - let args = sprintf "push \"%s\" -Source https://www.nuget.org/api/v2/package" (FullName file) + let args = sprintf "push \"%s\"" (FullName file) let result = ExecProcess (fun info -> info.FileName <- "packages/build/NuGet.CommandLine/tools/NuGet.exe"