Browse Source

Build: NuGet push no longer passes outdated source URI

spatial
Christoph Ruegg 9 years ago
parent
commit
d972f5f478
  1. 6
      build.fsx
  2. 2
      build/build-framework.fsx

6
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"))

2
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"

Loading…
Cancel
Save