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

Unified Diff: tools/bots/dart_sdk.py

Issue 1166743005: Remove GetSVNRevision from tools/utils.py (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments 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 | tools/bots/dartium_android.py » ('j') | 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..8e7e473711d2e6dd756896355524e5821abf6c4f 100644
--- a/tools/bots/dart_sdk.py
+++ b/tools/bots/dart_sdk.py
@@ -40,7 +40,7 @@ def CreateUploadVersionFile():
def DartArchiveUploadVersionFile(version_file):
namer = bot_utils.GCSNamer(CHANNEL, bot_utils.ReleaseType.RAW)
- revision = utils.GetSVNRevision()
+ revision = utils.GetArchiveVersion()
for revision in [revision, 'latest']:
destination = namer.version_filepath(revision)
DartArchiveFile(version_file, destination, checksum_files=False)
@@ -68,7 +68,7 @@ def CreateUploadSDKZips():
def DartArchiveUploadSDKs(system, sdk32_zip, sdk64_zip):
namer = bot_utils.GCSNamer(CHANNEL, bot_utils.ReleaseType.RAW)
- revision = utils.GetSVNRevision()
+ revision = utils.GetArchiveVersion()
for revision in [revision, 'latest']:
path32 = namer.sdk_zipfilepath(revision, system, 'ia32', 'release')
path64 = namer.sdk_zipfilepath(revision, system, 'x64', 'release')
@@ -95,7 +95,7 @@ def CreateUploadAPIDocs():
def DartArchiveUploadAPIDocs(api_zip):
namer = bot_utils.GCSNamer(CHANNEL, bot_utils.ReleaseType.RAW)
- revision = utils.GetSVNRevision()
+ revision = utils.GetArchiveVersion()
for revision in [revision, 'latest']:
destination = (namer.apidocs_directory(revision) + '/' +
namer.apidocs_zipfilename())
@@ -103,7 +103,7 @@ def DartArchiveUploadAPIDocs(api_zip):
def UploadApiDocs(dir_name):
apidocs_namer = bot_utils.GCSNamerApiDocs(CHANNEL)
- revision = utils.GetSVNRevision()
+ revision = utils.GetArchiveVersion()
apidocs_destination_gcsdir = apidocs_namer.docs_dirpath(revision)
apidocs_destination_latestfile = apidocs_namer.docs_latestpath(revision)
« no previous file with comments | « no previous file | tools/bots/dartium_android.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698