diff options
author | Kenneth Skovhede <kenneth@hexad.dk> | 2019-11-05 17:54:08 +0300 |
---|---|---|
committer | Kenneth Skovhede <kenneth@hexad.dk> | 2019-11-05 17:54:08 +0300 |
commit | 48f6774cfc69e0684f877981aa63a51ef9527305 (patch) | |
tree | b43902e10dbae3088ee27d76d714c871d3463adc | |
parent | 3a2e001b10135d9396e46b05aaf3f971d426d518 (diff) |
Changed the macOS notarization to run in-process as it fails when doing parallel uploads
-rwxr-xr-x | build-installers.sh | 13 |
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 "" |