Skip to content

Commit d684881

Browse files
authored
Merge pull request #530 from infosiftr/khaaan
Adjust jq regex to account for (more) BSD artifacts
2 parents e5a2089 + 19865ee commit d684881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ for buildxVersion in $buildxVersions; do
103103
| select(.file | test("[.]json$") | not)
104104
| { (
105105
.file
106-
| capture("[.](?<os>linux|windows|darwin|freebsd|openbsd)-(?<arch>[^.]+)(?<ext>[.]exe)?$")
106+
| capture("[.](?<os>linux|windows|darwin|[a-z0-9]*bsd)-(?<arch>[^.]+)(?<ext>[.]exe)?$")
107107
// error("failed to parse os-arch from filename: " + .)
108108
| if .os == "linux" then "" else .os + "-" end
109109
+ ({

0 commit comments

Comments
 (0)