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': |