mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
added comments
This commit is contained in:
parent
dd277451d8
commit
d13da655fd
@ -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...)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user