Use all as architecture if architectures array contains it
This commit is contained in:
parent
4307278698
commit
ae9e294bf5
4
build.go
4
build.go
|
@ -239,6 +239,10 @@ func buildPackage(ctx context.Context, script string, mgr manager.Manager) ([]st
|
|||
|
||||
setScripts(&vars, pkgInfo, filepath.Dir(script))
|
||||
|
||||
if slices.Contains(vars.Architectures, "all") {
|
||||
pkgInfo.Arch = "all"
|
||||
}
|
||||
|
||||
if pkgInfo.Arch == "arm" {
|
||||
pkgInfo.Arch = checkARMVariant()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue