mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
fpm only for linux builds
This commit is contained in:
parent
40fc46da92
commit
736d155884
@ -39,6 +39,10 @@ func (Pipe) Run(ctx *context.Context) error {
|
||||
var g errgroup.Group
|
||||
for _, format := range ctx.Config.FPM.Formats {
|
||||
for key, folder := range ctx.Folders {
|
||||
if !strings.Contains(key, "linux") {
|
||||
log.WithField("key", key).Debug("skipped non-linux builds for fpm")
|
||||
continue
|
||||
}
|
||||
folder := folder
|
||||
format := format
|
||||
arch := archFor(key)
|
||||
|
Loading…
Reference in New Issue
Block a user