From 394e44b3f8c462fc054d6c1366b2087dcc30e1e5 Mon Sep 17 00:00:00 2001 From: Ilja Nosik Date: Mon, 18 Sep 2017 14:13:37 +0200 Subject: [PATCH] Set working directory when pushing in parallel --- src/app/Fake.DotNet.Paket/Paket.fs | 1 + src/app/FakeLib/PaketHelper.fs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/app/Fake.DotNet.Paket/Paket.fs b/src/app/Fake.DotNet.Paket/Paket.fs index 2ceebce339a..1ba8084b03b 100644 --- a/src/app/Fake.DotNet.Paket/Paket.fs +++ b/src/app/Fake.DotNet.Paket/Paket.fs @@ -166,6 +166,7 @@ let PushFiles setParams files = let pushResult = Process.ExecProcess (fun info -> info.FileName <- parameters.ToolPath + info.WorkingDirectory <- parameters.WorkingDir info.Arguments <- sprintf "push %s%s%s%s" url endpoint key (Process.toParam package)) parameters.TimeOut if pushResult <> 0 then failwithf "Error during pushing %s." package }) diff --git a/src/app/FakeLib/PaketHelper.fs b/src/app/FakeLib/PaketHelper.fs index d339e231c2e..85a51cb12b4 100755 --- a/src/app/FakeLib/PaketHelper.fs +++ b/src/app/FakeLib/PaketHelper.fs @@ -173,6 +173,7 @@ let PushFiles setParams files = let pushResult = ExecProcess (fun info -> info.FileName <- parameters.ToolPath + info.WorkingDirectory <- parameters.WorkingDir info.Arguments <- sprintf "push %s%s%s file %s" url endpoint key (toParam package)) parameters.TimeOut if pushResult <> 0 then failwithf "Error during pushing %s." package })