1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00

added comments

This commit is contained in:
Carlos Alexandro Becker 2017-01-30 07:54:40 -02:00
parent dd277451d8
commit d13da655fd
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -77,6 +77,8 @@ func create(ctx *context.Context, format, archive, arch string) error {
for _, dep := range ctx.Config.FPM.Dependencies {
options = append(options, "-d", dep)
}
// This basically tells fpm to put the binary in the /usr/local/bin
// binary=/usr/local/bin/binary
options = append(options, name+"="+filepath.Join("/usr/local/bin", name))
cmd := exec.Command("fpm", options...)