From bb681102e98cda255c09574496bc58eb9692203f Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 9 Nov 2017 13:33:18 +0800 Subject: [PATCH] update comment Signed-off-by: Bo-Yi Wu --- cmd/drone-docker/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/drone-docker/main.go b/cmd/drone-docker/main.go index 3d19d0d..a7462b2 100644 --- a/cmd/drone-docker/main.go +++ b/cmd/drone-docker/main.go @@ -245,7 +245,7 @@ func run(c *cli.Context) error { } if c.Bool("tags.auto") { - if docker.UseDefaultTag( // return true if not default branch, or not tag + if docker.UseDefaultTag( // return true if tag event or default branch c.String("commit.ref"), c.String("repo.branch"), ) {