From dc151fc1fc137f4262c129333fcd07789076a793 Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Tue, 3 Dec 2024 11:21:07 -0800 Subject: [PATCH] Fix failing `versions.sh` that is causing the update job to fail Adjust jq regex to account for BSD artifacts ```console jq: error (at :39): failed to parse os-arch from filename: buildx-v0.19.1.freebsd-amd64 ``` --- versions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.sh b/versions.sh index 04cb48f57..645d51e74 100755 --- a/versions.sh +++ b/versions.sh @@ -103,7 +103,7 @@ for buildxVersion in $buildxVersions; do | select(.file | test("[.]json$") | not) | { ( .file - | capture("[.](?linux|windows|darwin)-(?[^.]+)(?[.]exe)?$") + | capture("[.](?linux|windows|darwin|freebsd|openbsd)-(?[^.]+)(?[.]exe)?$") // error("failed to parse os-arch from filename: " + .) | if .os == "linux" then "" else .os + "-" end + ({