[release-tools] Return no hash if version is not available.
BUG= Review URL: https://codereview.chromium.org/1105023002 Cr-Commit-Position: refs/heads/master@{#28070}
This commit is contained in:
parent
da1f8d6399
commit
8d8b742b9d
@ -461,6 +461,8 @@ class RetrieveInformationOnChromeReleases(Step):
|
|||||||
self["chrome_releases"] = chrome_releases
|
self["chrome_releases"] = chrome_releases
|
||||||
|
|
||||||
def _GetGitHashForV8Version(self, v8_version):
|
def _GetGitHashForV8Version(self, v8_version):
|
||||||
|
if v8_version == "N/A":
|
||||||
|
return ""
|
||||||
if v8_version.split(".")[3]== "0":
|
if v8_version.split(".")[3]== "0":
|
||||||
return self.GitGetHashOfTag(v8_version[:-2])
|
return self.GitGetHashOfTag(v8_version[:-2])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user