emit metadata in output

[#76848252]

Signed-off-by: Chris Brown <cbrown@pivotal.io>
This commit is contained in:
Alex Suraci
2015-02-18 10:06:04 -08:00
committed by Chris Brown
parent 3dc650adc8
commit c4436c0350
5 changed files with 101 additions and 19 deletions

View File

@@ -94,11 +94,7 @@ func (c *InCommand) Run(destDir string, request InRequest) (InResponse, error) {
Version: Version{
Tag: *foundRelease.TagName,
},
Metadata: []MetadataPair{
{Name: "name", Value: *foundRelease.Name, URL: *foundRelease.HTMLURL},
{Name: "url", Value: *foundRelease.HTMLURL},
{Name: "body", Value: *foundRelease.Body, Markdown: true},
},
Metadata: metadataFromRelease(foundRelease),
}, nil
}