diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-13 16:22:31 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-13 16:22:31 +0200 |
| commit | 8b5caef8c4cd0b08cdcae8e1d739166a903b1e23 (patch) | |
| tree | f53f64031436a622873b5a72b22909797989a2cb | |
| parent | a25b222b2e5d549cc9bd14639442ea176554cdd1 (diff) | |
Try to fix notarization when an upload has already happened.
| -rwxr-xr-x | cdist | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -749,6 +749,14 @@ def notarize_dmg(dmg, bundle_id): request_uuid = string_after(p, "RequestUUID") if request_uuid is None: + print("Looking for upload ID") + message = string_after("message") + print("Looking in %s" % message) + if message: + m = re.match('.*The upload ID is ([0-9a-f\-]*)', message) + if m: + request_uuid = m.groups()[0] + if request_uuid is None: print("Response: %s" % p) raise Error('No RequestUUID found in response from Apple') |
