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

@@ -45,6 +45,7 @@ func (c *OutCommand) Run(sourceDir string, request OutRequest) (OutResponse, err
TagName: github.String(tag),
Body: github.String(body),
}
createdRelease, err := c.github.CreateRelease(release)
if err != nil {
return OutResponse{}, err
@@ -76,6 +77,7 @@ func (c *OutCommand) Run(sourceDir string, request OutRequest) (OutResponse, err
Version: Version{
Tag: tag,
},
Metadata: metadataFromRelease(createdRelease),
}, nil
}