fix(ci): add --external mupdf to release build_binary function

The previous fix (513982b16) only added --external mupdf to the
package.json build:binary script, but the CI release job uses its
own inline build_binary function that was missing the flag. This
caused the release job to fail on tag push v13.17.3 with a
top-level await error from mupdf via markit-ai.
This commit is contained in:
can1357
2026-04-01 23:47:57 +02:00
parent 9498032d68
commit cc4b3f270f
+1 -1
View File
@@ -237,7 +237,7 @@ jobs:
TARGET="$3"
OUTFILE="$4"
TARGET_PLATFORM="$PLATFORM" TARGET_ARCH="$ARCH" bun --cwd=packages/natives run embed:native
bun build --compile $DEFINES --target="$TARGET" "$ENTRYPOINT" --outfile "$OUTFILE"
bun build --compile $DEFINES --external mupdf --target="$TARGET" "$ENTRYPOINT" --outfile "$OUTFILE"
}
build_binary darwin arm64 bun-darwin-arm64 packages/coding-agent/binaries/omp-darwin-arm64
build_binary darwin x64 bun-darwin-x64 packages/coding-agent/binaries/omp-darwin-x64