Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Skovhede <kenneth@hexad.dk>2019-11-05 17:54:08 +0300
committerKenneth Skovhede <kenneth@hexad.dk>2019-11-05 17:54:08 +0300
commit48f6774cfc69e0684f877981aa63a51ef9527305 (patch)
treeb43902e10dbae3088ee27d76d714c871d3463adc /build-installers.sh
parent3a2e001b10135d9396e46b05aaf3f971d426d518 (diff)
Changed the macOS notarization to run in-process as it fails when doing parallel uploads
Diffstat (limited to 'build-installers.sh')
-rwxr-xr-xbuild-installers.sh13
1 files changed, 5 insertions, 8 deletions
diff --git a/build-installers.sh b/build-installers.sh
index 0b9a8dff6..508c404c0 100755
--- a/build-installers.sh
+++ b/build-installers.sh
@@ -98,11 +98,6 @@ bash "make-dmg.sh" "../../$1"
mv "Duplicati.dmg" "../../${UPDATE_TARGET}/${DMGNAME}"
mv "Duplicati.pkg" "../../${UPDATE_TARGET}/${PKGNAME}"
-# Notarize and staple in the background
-bash notarize-and-staple.sh "../../${UPDATE_TARGET}/${DMGNAME}" &
-MACOS_NOTA1=$!
-bash notarize-and-staple.sh "../../${UPDATE_TARGET}/${PKGNAME}" &
-MACOS_NOTA2=$!
cd "../.."
@@ -224,9 +219,11 @@ fi
echo ""
echo ""
-echo "Waiting for macOS notarizer ..."
-wait MACOS_NOTA1
-wait MACOS_NOTA2
+echo "Performing macOS notarization ..."
+
+# Notarize and staple, cannot run in parallel but takes a while
+bash Installer/OSX/notarize-and-staple.sh "${UPDATE_TARGET}/${DMGNAME}"
+bash Installer/OSX/notarize-and-staple.sh "${UPDATE_TARGET}/${PKGNAME}"
echo ""
echo ""