From ab83a1f88c665b747d1648c94e7ddb3fb48a80f7 Mon Sep 17 00:00:00 2001 From: pmp-p Date: Mon, 25 Nov 2024 11:22:05 +0100 Subject: [PATCH] test --- cibuild.sh | 12 ++++++------ patches/pg_main.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cibuild.sh b/cibuild.sh index c037f78e..4b3117c3 100755 --- a/cibuild.sh +++ b/cibuild.sh @@ -494,9 +494,8 @@ do pushd ${PGLITE} pnpm install --frozen-lockfile - mkdir -p $PGLITE/release - rm $PGLITE/release/* 2>/dev/null - + #mkdir -p $PGLITE/release + #rm $PGLITE/release/* 2>/dev/null # copy packed extensions for dist echo " @@ -509,6 +508,7 @@ echo " __________________________________________________________________________________ " + # copy wasm web prebuilt artifacts to release folder # TODO: get them from web for nosdk systems. @@ -516,9 +516,9 @@ ________________________________________________________________________________ # debug CI does not use pnpm/npm for building pg, so call the typescript build # part from here - pnpm --filter "pglite^..." build || exit 450 - - pnpm pack || exit 31 + #pnpm --filter "pglite^..." build || exit 450 + pnpm run build || exit 520 + pnpm pack || exit 521 packed=$(echo -n electric-sql-pglite-*.tgz) mv $packed /tmp/sdk/pg${PG_VERSION}-${packed} diff --git a/patches/pg_main.c b/patches/pg_main.c index 2a68e3ee..b9402814 100644 --- a/patches/pg_main.c +++ b/patches/pg_main.c @@ -1453,7 +1453,7 @@ main(int argc, char **argv) { g_argv =argv; setup(); if (is_embed) { - printf("\n\n\n @@@@@@@@@@@@@@@@@@@@@@@@@ EXITING with live runtime port %d @@@@@@@@@@@@@@@@\n\n\n", pg_getport()); + fprintf(stderr, "\n\n\n @@@@@@@@@@@@@@@@@@@@@@@@@ EXITING with live runtime port %d @@@@@@@@@@@@@@@@\n\n\n", pg_getport()); whereToSendOutput = DestNone; cma_rsize = 0;