Fix packages with 'all' architecture
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Elara 2023-10-09 18:39:59 -07:00
parent 046db8bf1c
commit d9659dab9c
1 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ import (
"strconv"
"strings"
"golang.org/x/exp/slices"
"golang.org/x/sys/cpu"
)
@ -58,7 +59,7 @@ func Arch() string {
}
func IsCompatibleWith(target string, list []string) bool {
if target == "all" {
if target == "all" || slices.Contains(list, "all") {
return true
}