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

Unified Diff: dart/tools/upload_sdk.py

Issue 10273005: Fix dependencies for create and upload SDK. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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 | « dart/tools/create_sdk.py ('k') | dart/tools/utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/upload_sdk.py
diff --git a/dart/tools/upload_sdk.py b/dart/tools/upload_sdk.py
index b341b56abf4b2ef22d616742b6e2c8d99adb04d4..091729e77893f17aab8e52ee5285c25ae3e8768e 100644
--- a/dart/tools/upload_sdk.py
+++ b/dart/tools/upload_sdk.py
@@ -72,6 +72,7 @@ def main(argv):
#TODO: Determine where we are running, if we're running on a buildbot we
#should fail with a message.
#If we are not on a buildbot then fail silently.
+ utils.Touch(os.path.join(argv[1], 'upload.stamp'))
exit(0)
revision = utils.GetSVNRevision()
if revision is None:
@@ -99,6 +100,7 @@ def main(argv):
latest_name = 'dart-%s-latest%s.zip' % (utils.GuessOS(), sdk_suffix)
UploadArchive(SDK_LOCAL_ZIP,
GS_SITE + '/'.join([gsdir, GS_SDK_DIR, latest_name]))
+ utils.Touch('upload.stamp')
if __name__ == '__main__':
« no previous file with comments | « dart/tools/create_sdk.py ('k') | dart/tools/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698