We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
OLDEST_SUPPORTED_MAJOR_VERSION
1 parent 658e3c6 commit 0be9290Copy full SHA for 0be9290
.github/actions/release-branches/release-branches.py
@@ -13,7 +13,7 @@
13
with open(os.path.join(grandparent_dir, 'releases.ini')) as stream:
14
config.read_string('[default]\n' + stream.read())
15
16
-OLDEST_SUPPORTED_MAJOR_VERSION = config['default']['OLDEST_SUPPORTED_MAJOR_VERSION']
+OLDEST_SUPPORTED_MAJOR_VERSION = int(config['default']['OLDEST_SUPPORTED_MAJOR_VERSION'])
17
18
def main():
19
@@ -46,7 +46,7 @@ def main():
46
if consider_backports:
47
for i in range(int(major_version.strip("v"))-1, 0, -1):
48
branch_name = f"releases/v{i}"
49
- if i >= int(OLDEST_SUPPORTED_MAJOR_VERSION):
+ if i >= OLDEST_SUPPORTED_MAJOR_VERSION:
50
backport_target_branches.append(branch_name)
51
52
f.write("backport_target_branches="+json.dumps(backport_target_branches)+"\n")
0 commit comments