Skip to content

Commit d8a624c

Browse files
committed
fixup! chore: add version checks to lib.sh
1 parent ae48f20 commit d8a624c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/sign_darwin.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@ codesign -s "$AC_APPLICATION_IDENTITY" -f -v --timestamp --options runtime "$out
4242
# Notarize the signed zip file.
4343
#
4444
# The notarization process is very fragile and heavily dependent on Apple's
45-
# notarization server not returning server errors, so we retry this step 5
46-
# times with a delay of 30 seconds between each attempt.
45+
# notarization server not returning server errors, so we retry this step twice
46+
# with a delay of a minute between attempts.
4747
rc=0
48-
for i in $(seq 1 5); do
48+
for i in $(seq 1 2); do
4949
gon "$config" && rc=0 && break || rc=$?
5050
log "gon exit code: $rc"
5151
if [ "$i" -lt 5 ]; then
5252
log
53-
log "Retrying notarization in 30 seconds"
53+
log "Retrying notarization in 60 seconds"
5454
log
55-
sleep 30
55+
sleep 60
5656
else
5757
log
5858
log "Giving up :("

0 commit comments

Comments
 (0)