@@ -55,6 +55,8 @@ val products = listOf(
55
55
)
56
56
val product = products.first { it.releaseType == (System .getenv(" RELEASE_TYPE" ) ? : " release" ) }
57
57
58
+ val verifyOldVersions = System .getenv(" VERIFY_VERSIONS" ) == " old"
59
+
58
60
val kotlinVersion = " 1.9.25"
59
61
val arrowVersion = " 0.11.0"
60
62
@@ -108,26 +110,31 @@ intellijPlatform {
108
110
pluginVerification {
109
111
// These need to match the versions from
110
112
// https://data.services.jetbrains.com/products?fields=code,name,releases.downloads,releases.version,releases.build,releases.type&code=IIC,IIE,GO
111
- ides {
112
- select {
113
- types = listOf (IntelliJPlatformType .IntellijIdeaUltimate )
114
- sinceBuild = project.properties[" IIC.from.version" ] as String
115
- untilBuild = project.properties[" IIC.from.version" ] as String
116
- }
117
- select {
118
- types = listOf (IntelliJPlatformType .IntellijIdeaUltimate )
119
- sinceBuild = product.intellijVersion
120
- untilBuild = product.intellijVersion
121
- }
122
- select {
123
- types = listOf (IntelliJPlatformType .GoLand )
124
- sinceBuild = project.properties[" GO.from.version" ] as String
125
- untilBuild = project.properties[" GO.from.version" ] as String
113
+ if (verifyOldVersions) {
114
+ ides {
115
+ select {
116
+ types = listOf (IntelliJPlatformType .IntellijIdeaUltimate )
117
+ sinceBuild = project.properties[" IIC.from.version" ] as String
118
+ untilBuild = project.properties[" IIC.from.version" ] as String
119
+ }
120
+ select {
121
+ types = listOf (IntelliJPlatformType .GoLand )
122
+ sinceBuild = project.properties[" GO.from.version" ] as String
123
+ untilBuild = project.properties[" GO.from.version" ] as String
124
+ }
126
125
}
127
- select {
128
- types = listOf (IntelliJPlatformType .GoLand )
129
- sinceBuild = product.golandVersion
130
- untilBuild = product.golandVersion
126
+ } else {
127
+ ides {
128
+ select {
129
+ types = listOf (IntelliJPlatformType .IntellijIdeaUltimate )
130
+ sinceBuild = product.intellijVersion
131
+ untilBuild = product.intellijVersion
132
+ }
133
+ select {
134
+ types = listOf (IntelliJPlatformType .GoLand )
135
+ sinceBuild = product.golandVersion
136
+ untilBuild = product.golandVersion
137
+ }
131
138
}
132
139
}
133
140
}
0 commit comments