From 9a85fdd0a59d8f60b6db4a84dc32b3d195f642ce Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Fri, 14 Feb 2020 15:27:21 -0800 Subject: [PATCH] Cut version 1.5.4 --- scripts/codesign_example.sh | 3 +-- scripts/dist.sh | 3 +++ scripts/sign.sh | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/codesign_example.sh b/scripts/codesign_example.sh index 24badd2be..7b1659c1e 100755 --- a/scripts/codesign_example.sh +++ b/scripts/codesign_example.sh @@ -157,8 +157,7 @@ signed_checksum=$( ) echo "${signed_checksum} signed_${SN_ID}.zip" | $SHASUM_PROG -c -if [ $? -ne 0 ] -then +if [ $? -ne 0 ]; then exit 1 fi diff --git a/scripts/dist.sh b/scripts/dist.sh index 7c3a25d0d..1cd42e7fb 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -40,6 +40,9 @@ for PLATFORM in $(find ./pkg -mindepth 1 -maxdepth 1 -type d); do done ./scripts/sign.sh +if [ $? -ne 0 ]; then + exit 1 +fi if [ -z $NOSIGN ]; then echo "==> Signing..." diff --git a/scripts/sign.sh b/scripts/sign.sh index e74ad70e3..024e5e5bd 100755 --- a/scripts/sign.sh +++ b/scripts/sign.sh @@ -33,6 +33,9 @@ for DARWIN_BIN in $(find ./pkg/dist/*darwin_*.zip); do echo $TARGET_ZIP ./scripts/codesign_example.sh + if [ $? -ne 0 ]; then + exit 1 + fi done exit 0