From 611cee9d4b667b459f19ca0cbf6e76d8647535fb Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Wed, 11 Nov 2026 06:42:50 -0500 Subject: [PATCH] fix(ci): treat require-digests=false as off in verify-artifacts The download action always sets OPENCODE_REQUIRE_DIGESTS (false by default), so testing for a non-empty value required digests for release artifacts that legitimately have none and broke sign-macos, sign-windows and publish-attestations. Compare the value to true instead. --- .github/release/verify-artifacts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/release/verify-artifacts.sh b/.github/release/verify-artifacts.sh index 1c291799b1a..e256e9d0572 100755 --- a/.github/release/verify-artifacts.sh +++ b/.github/release/verify-artifacts.sh @@ -27,7 +27,7 @@ for dir in "$root"/*/; do for pair in ${OPENCODE_DIGESTS:-}; do if [ "${pair%%=*}" = "$name" ]; then digest=${pair#*=}; fi done - if [ -n "${OPENCODE_REQUIRE_DIGESTS:-}" ]; then + if [ "${OPENCODE_REQUIRE_DIGESTS:-false}" = true ]; then [[ "$digest" =~ ^[0-9a-f]{64}$ ]] || die "Missing digest for $name" else case "$name" in sign-*) [[ "$digest" =~ ^[0-9a-f]{64}$ ]] || die "Missing digest for $name" ;; esac