Skip to content

Commit 6255298

Browse files
committed
Kotlin: Use 1.8.10 for CI
I don't think there's any need for the CI version to be one of the versions we build extractors for, so I've removed that check.
1 parent 99bed0b commit 6255298

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

java/kotlin-extractor/kotlin_plugin_versions.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ def version_string_to_tuple(version):
2121
m = re.match(r'([0-9]+)\.([0-9]+)\.([0-9]+)(.*)', version)
2222
return tuple([int(m.group(i)) for i in range(1, 4)] + [m.group(4)])
2323

24-
# Version number used by CI. It needs to be one of the versions in many_versions.
25-
ci_version = '1.8.0'
24+
# Version number used by CI.
25+
ci_version = '1.8.10'
2626

2727
# Version numbers in the list need to be in semantically increasing order
2828
many_versions = [ '1.4.32', '1.5.0', '1.5.10', '1.5.20', '1.5.30', '1.6.0', '1.6.20', '1.7.0', '1.7.20', '1.8.0' ]
@@ -57,8 +57,6 @@ def get_single_version(fakeVersionOutput = None):
5757
raise Exception(f'No suitable kotlinc version found for {current_version} (got {versionOutput}; know about {str(many_versions)})')
5858

5959
def get_latest_url():
60-
if ci_version not in many_versions:
61-
raise Exception('CI version must be one of many_versions')
6260
url = 'https://github.com/JetBrains/kotlin/releases/download/v' + ci_version + '/kotlin-compiler-' + ci_version + '.zip'
6361
return url
6462

0 commit comments

Comments
 (0)