diff --git a/bin/build.sh b/bin/build.sh index 3f416dddb..513bd1129 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -1,7 +1,5 @@ #!/usr/bin/env bash -set -e - if ! command -v jq &> /dev/null; then echo "Missing command: jq" exit 1 @@ -42,6 +40,7 @@ cp -r $SRC_DIR ./dist/trilium-windows-x64-src cp -r $SRC_DIR ./dist/trilium-mac-x64-src cp -r $SRC_DIR ./dist/trilium-mac-arm64-src +set -e bin/build-win-x64.sh DONTCOPY bin/build-mac-x64.sh DONTCOPY diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh index 8affb7be3..2936a925b 100755 --- a/bin/copy-trilium.sh +++ b/bin/copy-trilium.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash shopt -s globstar -set -e if [[ $# -eq 0 ]] ; then echo "Missing argument of target directory"