Fix type error
This commit is contained in:
parent
49812ec6b6
commit
658e3c6619
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ def main():
|
||||||
if consider_backports:
|
if consider_backports:
|
||||||
for i in range(int(major_version.strip("v"))-1, 0, -1):
|
for i in range(int(major_version.strip("v"))-1, 0, -1):
|
||||||
branch_name = f"releases/v{i}"
|
branch_name = f"releases/v{i}"
|
||||||
if i >= OLDEST_SUPPORTED_MAJOR_VERSION:
|
if i >= int(OLDEST_SUPPORTED_MAJOR_VERSION):
|
||||||
backport_target_branches.append(branch_name)
|
backport_target_branches.append(branch_name)
|
||||||
|
|
||||||
f.write("backport_target_branches="+json.dumps(backport_target_branches)+"\n")
|
f.write("backport_target_branches="+json.dumps(backport_target_branches)+"\n")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue