1
0
mirror of https://github.com/drone/drone-cli.git synced 2026-01-22 11:01:34 +01:00

Fix copy/paste error with --ref

This commit is contained in:
Sherman Mui 2019-07-23 13:47:15 -07:00
parent e9c3f7c6f5
commit 908d27ca67

@ -27,7 +27,7 @@ func getEnv(c *cli.Context) map[string]string {
env["DRONE_SYSTEM_HOSTNAME"] = v
}
if c.IsSet("ref") {
v := c.String("instance")
v := c.String("ref")
env["DRONE_COMMIT_REF"] = v
}
if c.IsSet("repo") {