diff --git a/command/push.go b/command/push.go index 6ba27bada..f3a790bce 100644 --- a/command/push.go +++ b/command/push.go @@ -155,6 +155,8 @@ func (c *PushCommand) Run(args []string) int { if message != "" { metadata["message"] = message } + metadata["template"] = tpl.RawContents + metadata["template_name"] = filepath.Base(args[0]) uploadOpts.Metadata = metadata // Warn about builds not having post-processors.