Merge "Don't check for existing destination when performing archive dry run."
diff --git a/tools/archive.py b/tools/archive.py
index 25e6a4f..9213cc2 100755
--- a/tools/archive.py
+++ b/tools/archive.py
@@ -138,7 +138,7 @@
version = GetGitHash()
destination = GetVersionDestination('gs://', version, is_master)
- if utils.cloud_storage_exists(destination):
+ if utils.cloud_storage_exists(destination) and not options.dry_run:
raise Exception('Target archive directory %s already exists' % destination)
with utils.TempDir() as temp:
version_file = os.path.join(temp, 'r8-version.properties')