diff --git a/drone/starlark/starlark.go b/drone/starlark/starlark.go index aff0c79..28ff5cc 100644 --- a/drone/starlark/starlark.go +++ b/drone/starlark/starlark.go @@ -111,6 +111,18 @@ var Command = cli.Command{ Name: "build.title", Usage: "build title", }, + cli.StringFlag{ + Name: "build.link", + Usage: "build link", + }, + cli.StringFlag{ + Name: "build.environment", + Usage: "build environment", + }, + cli.BoolTFlag{ + Name: "build.debug", + Usage: "debug build", + }, }, } @@ -159,6 +171,9 @@ func generate(c *cli.Context) error { "commit": starlark.String(c.String("build.commit")), "message": starlark.String(c.String("build.message")), "title": starlark.String(c.String("build.title")), + "link": starlark.String(c.String("build.link")), + "environment": starlark.String(c.String("build.environment")), + "debug": starlark.Bool(c.Bool("build.debug")), } args := starlark.Tuple([]starlark.Value{