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

Unified Diff: dart/editor/build/promote.py

Issue 54543007: promote.py: Archive installers to new gs://dart-archive bucket when promoting (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 | « no previous file | dart/tools/bots/bot_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/editor/build/promote.py
diff --git a/dart/editor/build/promote.py b/dart/editor/build/promote.py
index d6951da2de8a0deb854a32e7e18c162b8c3bbcaa..45ff52a73541556b9ca600b9db460186c0b9cbf8 100644
--- a/dart/editor/build/promote.py
+++ b/dart/editor/build/promote.py
@@ -360,6 +360,15 @@ def _PromoteDartArchiveBuild(channel, revision):
_Gsutil(['cp', '-a', 'public-read', from_loc + '.md5sum',
to_loc + '.md5sum'])
+ # Copy signed editor installers for macos/windows.
+ for system, extension in [('windows', 'msi'), ('macos', 'dmg')]:
+ for arch in ['ia32', 'x64']:
+ from_loc = signed_namer.editor_installer_filepath(
+ revision, system, arch, extension)
+ to_loc = release_namer.editor_installer_filepath(
+ to_revision, system, arch, extension)
+ _Gsutil(['cp', '-a', 'public-read', from_loc, to_loc])
+
promote(revision)
promote('latest')
« no previous file with comments | « no previous file | dart/tools/bots/bot_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698