command/push: the -name parameter actually works
This commit is contained in:
parent
91cfe5edf4
commit
6e9fb6a9d1
|
@ -157,7 +157,7 @@ func (c *PushCommand) Run(args []string) int {
|
|||
|
||||
// Build the upload options
|
||||
var uploadOpts uploadOpts
|
||||
uploadOpts.Slug = push.Name
|
||||
uploadOpts.Slug = name
|
||||
uploadOpts.Builds = make(map[string]*uploadBuildInfo)
|
||||
for _, b := range tpl.Builders {
|
||||
info := &uploadBuildInfo{Type: b.Type}
|
||||
|
|
Loading…
Reference in New Issue