Skip to content

Commit 19865ee

Browse files
committed
Adjust jq regex to account for (more) BSD artifacts
1 parent e5a2089 commit 19865ee

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)