Skip to content

Commit

Permalink
fix --deploy and --publish flags to drone build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ke Zhu committed Dec 7, 2014
1 parent 8f6a031 commit a7df1e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7df1e5

Please sign in to comment.