mirror of
https://github.com/electron/electron.git
synced 2026-01-26 15:58:07 -05:00
Merge pull request #6896 from malept/fix-checksum-format
The checksum file needs to indicate that the files should be opened in binary mode
This commit is contained in:
@@ -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])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user