File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
.github/actions/release-branches Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1313with open (os .path .join (grandparent_dir , 'releases.ini' )) as stream :
1414 config .read_string ('[default]\n ' + stream .read ())
1515
16- OLDEST_SUPPORTED_MAJOR_VERSION = config ['default' ]['OLDEST_SUPPORTED_MAJOR_VERSION' ]
16+ OLDEST_SUPPORTED_MAJOR_VERSION = int ( config ['default' ]['OLDEST_SUPPORTED_MAJOR_VERSION' ])
1717
1818def main ():
1919
@@ -46,7 +46,7 @@ def main():
4646 if consider_backports :
4747 for i in range (int (major_version .strip ("v" ))- 1 , 0 , - 1 ):
4848 branch_name = f"releases/v{ i } "
49- if i >= int ( OLDEST_SUPPORTED_MAJOR_VERSION ) :
49+ if i >= OLDEST_SUPPORTED_MAJOR_VERSION :
5050 backport_target_branches .append (branch_name )
5151
5252 f .write ("backport_target_branches=" + json .dumps (backport_target_branches )+ "\n " )
You can’t perform that action at this time.
0 commit comments