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 13
13
with open (os .path .join (grandparent_dir , 'releases.ini' )) as stream :
14
14
config .read_string ('[default]\n ' + stream .read ())
15
15
16
- OLDEST_SUPPORTED_MAJOR_VERSION = config ['default' ]['OLDEST_SUPPORTED_MAJOR_VERSION' ]
16
+ OLDEST_SUPPORTED_MAJOR_VERSION = int ( config ['default' ]['OLDEST_SUPPORTED_MAJOR_VERSION' ])
17
17
18
18
def main ():
19
19
@@ -46,7 +46,7 @@ def main():
46
46
if consider_backports :
47
47
for i in range (int (major_version .strip ("v" ))- 1 , 0 , - 1 ):
48
48
branch_name = f"releases/v{ i } "
49
- if i >= int ( OLDEST_SUPPORTED_MAJOR_VERSION ) :
49
+ if i >= OLDEST_SUPPORTED_MAJOR_VERSION :
50
50
backport_target_branches .append (branch_name )
51
51
52
52
f .write ("backport_target_branches=" + json .dumps (backport_target_branches )+ "\n " )
You can’t perform that action at this time.
0 commit comments