From aaf9c5327c65eb82b600fa238c68bea3506ce053 Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Thu, 18 Aug 2016 08:35:54 -0700 Subject: [PATCH] The checksum file needs to indicate that the files should be opened in binary mode --- script/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/upload.py b/script/upload.py index ee97220a82be..06a11ba590b4 100755 --- a/script/upload.py +++ b/script/upload.py @@ -247,7 +247,7 @@ def upload_sha256_checksum(version, file_path): filename = os.path.basename(file_path) with open(checksum_path, 'w') as checksum: - checksum.write('{} {}'.format(sha256.hexdigest(), filename)) + checksum.write('{} *{}'.format(sha256.hexdigest(), filename)) s3put(bucket, access_key, secret_key, os.path.dirname(checksum_path), 'atom-shell/tmp/{0}'.format(version), [checksum_path])