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

Unified Diff: tools/release/releases.py

Issue 1105023002: [release-tools] Return no hash if version is not available. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/release/releases.py
diff --git a/tools/release/releases.py b/tools/release/releases.py
index a82da2bddf5aaec98fc9518180fc47297093f9d2..5b826fccba089d27afc2f0cab0fefc209ae033af 100755
--- a/tools/release/releases.py
+++ b/tools/release/releases.py
@@ -461,6 +461,8 @@ class RetrieveInformationOnChromeReleases(Step):
self["chrome_releases"] = chrome_releases
def _GetGitHashForV8Version(self, v8_version):
+ if v8_version == "N/A":
+ return ""
if v8_version.split(".")[3]== "0":
return self.GitGetHashOfTag(v8_version[:-2])
« 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