mirror of
https://github.com/drone/drone-cli.git
synced 2024-11-26 14:13:47 +01:00
Merge pull request #137 from sherrman/fix-ref-env-option
Fix copy/paste error with --ref
This commit is contained in:
commit
8957864f75
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user