diff options
author | Kenneth Skovhede <kenneth@hexad.dk> | 2019-11-04 16:41:12 +0300 |
---|---|---|
committer | Kenneth Skovhede <kenneth@hexad.dk> | 2019-11-05 13:34:40 +0300 |
commit | 7d3ba5ebd4960beb1566e1e7781b53eed5ceac60 (patch) | |
tree | d1f3df17ab2b92c81a0246f39bd10f2d34541b43 /build-installers.sh | |
parent | 583e9ac584bb89632dde0449ef8b8fc7aff3d211 (diff) |
Experiment with running notarization and stapling for macOS in detached processes
Diffstat (limited to 'build-installers.sh')
-rwxr-xr-x | build-installers.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build-installers.sh b/build-installers.sh index b15d102cf..0b9a8dff6 100755 --- a/build-installers.sh +++ b/build-installers.sh @@ -97,6 +97,13 @@ cd "Installer/OSX" 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 "../.." echo "" @@ -217,6 +224,12 @@ fi echo "" echo "" +echo "Waiting for macOS notarizer ..." +wait MACOS_NOTA1 +wait MACOS_NOTA2 + +echo "" +echo "" echo "Done building, uploading installers ..." if [ -d "./tmp" ]; then |