update comment

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-11-09 13:33:18 +08:00
parent a5011aab39
commit bb681102e9

View File

@ -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"),
) {