add DRONE_ environment variable

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-11-03 09:33:37 +08:00
parent d8ba908538
commit 0fb22dbadc

@ -201,7 +201,7 @@ func main() {
cli.StringFlag{
Name: "default.branch",
Usage: "defualt latest branch",
EnvVar: "PLUGIN_DEFALUT_BRANCH",
EnvVar: "DRONE_REPO_BRANCH,PLUGIN_DEFALUT_BRANCH",
},
}