From 481df1db36b659d7aa0090eba12056c718b00bf2 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 25 Nov 2026 11:14:34 +0100 Subject: [PATCH] Modify formbricks-install.sh for versioning and build Updated versioning and build configurations for Formbricks installation script. --- install/formbricks-install.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/install/formbricks-install.sh b/install/formbricks-install.sh index 6a38f5d67..c38681244 100644 --- a/install/formbricks-install.sh +++ b/install/formbricks-install.sh @@ -30,14 +30,10 @@ NODE_VERSION="24" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /o msg_info "Building Formbricks (Patience)" cd /opt/formbricks -# CI stamps the release here, at 0.0.0 the app offers its own release as an upgrade; before pnpm install, or pnpm build reinstalls sed -i "s/\"version\": \"0.0.0\"/\"version\": \"$(cat ~/.formbricks)\"/" apps/web/package.json -# type-checking the released tag needs about 6 GB on top of the Turbopack compile sed -i 's/^const nextConfig = {$/&\n typescript: { ignoreBuildErrors: true },/' apps/web/next.config.mjs -# next build stats apps/web/.env, a symlink to the repo root .env that the tarball does not ship touch apps/web/.env $STD pnpm install --ignore-scripts --frozen-lockfile -# upstream's image build wrapper supplies placeholder values for the build-time env check, so no instance URL is baked into the bundle $STD sh apps/web/scripts/docker/read-secrets.sh pnpm build --filter=@formbricks/web... cp -r apps/web/.next/static apps/web/.next/standalone/apps/web/.next/ cp -r apps/web/public apps/web/.next/standalone/apps/web/