Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: tools/signing_script.py

Issue 440233005: Added sha256 sums for build outputs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Take ricow's suggestions Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dartium/upload_steps.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/signing_script.py
diff --git a/tools/signing_script.py b/tools/signing_script.py
index 8147aebfba58cd4a6da042d0e2a474a1d34ac553..5eefe1b96b2be3ede6135675d598e48281c6a67a 100755
--- a/tools/signing_script.py
+++ b/tools/signing_script.py
@@ -132,13 +132,18 @@ def upload_to_new_location(channel, config, source_zip):
config['bits'])
if not DRY_RUN:
- bot_utils.CreateChecksumFile(source_zip, mangled_filename=zipfilename)
+ bot_utils.CreateMD5ChecksumFile(source_zip, mangled_filename=zipfilename)
+ bot_utils.CreateSha256ChecksumFile(source_zip,
+ mangled_filename=zipfilename)
md5_zip_file = source_zip + '.md5sum'
+ sha256_zip_file = source_zip + '.sha256sum'
run([GSUTIL, 'cp', source_zip, bucket])
run([GSUTIL, 'cp', md5_zip_file, bucket + '.md5sum'])
+ run([GSUTIL, 'cp', sha256_zip_file, bucket + '.sha256sum'])
run([GSUTIL, 'setacl', 'public-read', bucket])
run([GSUTIL, 'setacl', 'public-read', bucket + '.md5sum'])
+ run([GSUTIL, 'setacl', 'public-read', bucket + '.sha256sum'])
def upload_msi_installer_to_new_location(channel, config, signed_msi):
namer = bot_utils.GCSNamer(channel, bot_utils.ReleaseType.SIGNED)
@@ -279,4 +284,3 @@ def main():
if __name__ == '__main__':
main()
-
« no previous file with comments | « tools/dartium/upload_steps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698