bug 1451481 - rr3 compare ints; str will always be >= to an int. r=nthomas
authorAki Sasaki <asasaki@mozilla.com>
Mon, 09 Apr 2018 14:43:51 -0700
changeset 8370 06a71a5fe369a250083121cc5cd13f665ac5344e
parent 8369 8a19f66d18bc61fac68bc9a778726c91fc5352fe
child 8371 d78d81331951a71ba722211d58f7bf18eb7d7d28
push id6109
push userasasaki@mozilla.com
push dateMon, 09 Apr 2018 21:43:56 +0000
reviewersnthomas
bugs1451481
bug 1451481 - rr3 compare ints; str will always be >= to an int. r=nthomas
buildfarm/release/release-runner3.py
--- a/buildfarm/release/release-runner3.py
+++ b/buildfarm/release/release-runner3.py
@@ -118,17 +118,17 @@ def is_rc(release):
 
 def get_beta_num(version):
     if is_beta(version):
         parts = version.split('b')
         return int(parts[-1])
 
 
 def is_partner_enabled(release, min_version):
-    major_version = release['version'].split('.')[0]
+    major_version = int(release['version'].split('.')[0])
     if release["product"] == "firefox" and major_version >= min_version:
         if is_beta(release['version']):
             if get_beta_num(release['version']) >= 8:
                 return True
         elif not is_esr(release['version']):
             return True
     return False