From dbf2f6ec1f155622b98b68937994368a55492cbc Mon Sep 17 00:00:00 2001 From: Shant Tchatalbachian <10482171+0mniteck@users.noreply.github.com> Date: Sat, 16 Nov 2024 19:51:48 -0800 Subject: [PATCH] Update signal-buildscript.sh --- signal-buildscript.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/signal-buildscript.sh b/signal-buildscript.sh index aa52de7..65a9685 100755 --- a/signal-buildscript.sh +++ b/signal-buildscript.sh @@ -1,9 +1,7 @@ #!/usr/bin/env bash [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" - trap '[[ $pid ]] && kill $pid; exit' EXIT - if [ "$1" != "" ]; then BUILD_TYPE="$1" fi @@ -11,7 +9,6 @@ fi echo "Starting Build "$(date -u '+on %D at %R UTC') && echo "# Starting Build "$(date -u '+on %D at %R UTC') > release/release.sha512sum echo "BUILD_TYPE: ${BUILD_TYPE}" echo "SOURCE_DATE_EPOCH: ${SOURCE_DATE_EPOCH}" - echo "Entering /Signal-Desktop" pushd /Signal-Desktop git-lfs install @@ -42,13 +39,13 @@ else echo "Unknown build type ${BUILD_TYPE}" exit 1 fi + npm run generate npm run build:esbuild:prod xvfb-run --auto-servernum npm run build:preload-cache npm run build:release -- --arm64 --publish=never --linux deb echo "Generating SBOM at /Signal-Desktop/release/manifest.spdx.json" npm sbom --sbom-format="spdx" --sbom-type="application" > /Signal-Desktop/release/manifest.spdx.json -# TESTS xvfb-run --auto-servernum npm run test-node xvfb-run --auto-servernum npm run test-electron xvfb-run --auto-servernum npm run test-release