chore(android): address code review comment

This commit is contained in:
Eberhard Beilharz 2026-06-29 17:08:24 +02:00
parent bda4b50e2a
commit b805f66177
No known key found for this signature in database
GPG key ID: E9140597606020D3

View file

@ -125,6 +125,10 @@ build_tests_action() {
# shellcheck disable=SC2310
if ! builder_is_ci_release_build; then
for f in "${KEYMAN_ROOT}/web/build/docs/engine/guide/examples"/*.html; do
# Replace CDN URL (https://s.keyman.com/kwm/engine/18.0.123) with
# local local build path (/build/publish/debug). We write to a temp
# file and then replace the original instead of modifying in-place.
# This is safer and more portable.
sed "s|https://s\.keyman\.com/kmw/engine/[0-9]*\.[0-9]*\.[0-9]*/|/build/publish/${config}/|g" \
"${f}" > "${f}.tmp" && mv "${f}.tmp" "${f}"
done