From da7830d0e35b0fba96671e86480a54bca456d6fb Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Sun, 20 Nov 2022 13:54:49 -0800 Subject: [PATCH] Make the architecture match on all machines --- build.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.go b/build.go index 9fd2b5c..0ae7aee 100644 --- a/build.go +++ b/build.go @@ -594,6 +594,10 @@ func getBuildVars(ctx context.Context, script string, info *distro.OSRelease) (* } func archMatches(architectures []string) bool { + if slices.Contains(architectures, "all") { + return true + } + arch := runtime.GOARCH if arch == "arm" {