changed drone build flags from string to bool

This commit is contained in:
Brad Rydzewski 2014-10-12 14:09:55 -07:00
parent afc3030087
commit 617303b155

View file

@ -29,19 +29,16 @@ func NewBuildCommand() cli.Command {
Value: "", Value: "",
Usage: "identify file injected in the container", Usage: "identify file injected in the container",
}, },
cli.StringFlag{ cli.BoolFlag{
Name: "p", Name: "p",
Value: "false",
Usage: "runs drone build in a privileged container", Usage: "runs drone build in a privileged container",
}, },
cli.StringFlag{ cli.BoolFlag{
Name: "deploy", Name: "deploy",
Value: "false",
Usage: "runs drone build with deployments enabled", Usage: "runs drone build with deployments enabled",
}, },
cli.StringFlag{ cli.BoolFlag{
Name: "publish", Name: "publish",
Value: "false",
Usage: "runs drone build with publishing enabled", Usage: "runs drone build with publishing enabled",
}, },
}, },