From a7df1e59e6f0cbcc10f338482c0817bfd302d974 Mon Sep 17 00:00:00 2001 From: Ke Zhu Date: Sun, 7 Dec 2014 10:45:14 -0500 Subject: [PATCH] fix --deploy and --publish flags to `drone build` --- cli/build.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/build.go b/cli/build.go index 0c5a3e1b..cfe8bd21 100644 --- a/cli/build.go +++ b/cli/build.go @@ -127,10 +127,10 @@ func run(path, identity, dockerhost, dockercert, dockerkey string, publish, depl } if deploy == false { - s.Publish = nil + s.Deploy = nil } if publish == false { - s.Deploy = nil + s.Publish = nil } // get the repository root directory