command/push: the -name parameter actually works

pull/2199/head
Mitchell Hashimoto 11 years ago
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…
Cancel
Save