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

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: 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
« tools/dartium/upload_steps.py ('K') | « 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..062d8d95cef778d3e35fa808bfe85cdfcf3942c1 100755
--- a/tools/signing_script.py
+++ b/tools/signing_script.py
@@ -132,13 +132,17 @@ 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 + '.sha256'
kevmoo 2014/08/06 01:03:57 should be .sha256sum everywhere
run([GSUTIL, 'cp', source_zip, bucket])
run([GSUTIL, 'cp', md5_zip_file, bucket + '.md5sum'])
+ run([GSUTIL, 'cp', sha256_zip_file, bucket + '.sha256'])
run([GSUTIL, 'setacl', 'public-read', bucket])
run([GSUTIL, 'setacl', 'public-read', bucket + '.md5sum'])
+ run([GSUTIL, 'setacl', 'public-read', bucket + '.sha256'])
kevmoo 2014/08/06 01:03:57 should be .sha256sum everywhere
def upload_msi_installer_to_new_location(channel, config, signed_msi):
namer = bot_utils.GCSNamer(channel, bot_utils.ReleaseType.SIGNED)
@@ -278,5 +282,4 @@ def main():
options.channel, config, postsign_msi)
if __name__ == '__main__':
- main()
-
+ main()
kevmoo 2014/08/06 01:03:57 Not sure if this deleted the trailing new line or
« tools/dartium/upload_steps.py ('K') | « tools/dartium/upload_steps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698