Verified Commit bfb21a2a authored by boklm's avatar boklm
Browse files

Bug 40497: Check that directory does not exist before starting macOS signing

parent 643fce43
......@@ -31,6 +31,18 @@ function sync-builder-unsigned-to-local-signed {
function macos-signer-directory-not-present {
# To avoid doing two signings at the same time, or to avoid unknowingly
# using parts from a previous signing attempt, we check that the
# directory does not exist yet (see tor-browser-build#40497)
if ssh "$ssh_host_macos_signer" "test -d $tbb_version"
echo "The directory $tbb_version already exists on $ssh_host_macos_signer"
return 1
return 0
function sync-scripts-to-macos-signer {
......@@ -168,6 +180,7 @@ function do_step {
do_step wait-for-finished-build
do_step sync-builder-unsigned-to-local-signed
do_step macos-signer-directory-not-present
do_step sync-scripts-to-macos-signer
do_step macos-signer-enable-network-proxy-settings
do_step macos-signer-gatekeeper-signing
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment