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

Unified Diff: tools/bots/dart_sdk.py

Issue 1160793008: Actually clobber on be sdk bots if the flag is set (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/dart_sdk.py
diff --git a/tools/bots/dart_sdk.py b/tools/bots/dart_sdk.py
index c124c5dbfa9b4a21a5f14881df48e04712258262..a4959a8d40806603d9ccfaac4d0dd88879e30ad8 100644
--- a/tools/bots/dart_sdk.py
+++ b/tools/bots/dart_sdk.py
@@ -187,9 +187,9 @@ def Run(command):
return bot.RunProcess(command)
if __name__ == '__main__':
- if CHANNEL != bot_utils.Channel.BLEEDING_EDGE:
- # We always clobber the bot, to make sure releases are build from scratch
- bot.Clobber(force=True)
+ # We always clobber the bot, to make sure releases are build from scratch
+ force = CHANNEL != bot_utils.Channel.BLEEDING_EDGE:
+ bot.Clobber(force=force)
CreateUploadSDK()
if BUILD_OS == 'linux':
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698