mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
PY-82344 Restrict PyCharm unified promotion updates to builds with baseline version >= 253
GitOrigin-RevId: a6f6f208c57cb25f2fcd4eb1657aba8d2db0d13f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7578c556a6
commit
c25ab985dc
+3
-1
@@ -161,7 +161,9 @@ internal class PyCommunityToUnifiedPromoService(val serviceScope: CoroutineScope
|
||||
get() = true
|
||||
}
|
||||
val platformUpdates = UpdateStrategy(build, product, updateSettings, customization).checkForUpdates()
|
||||
if (platformUpdates is PlatformUpdates.Loaded && platformUpdates.newBuild.number.productCode == "PY") {
|
||||
if (platformUpdates is PlatformUpdates.Loaded &&
|
||||
platformUpdates.newBuild.number.productCode == "PY" &&
|
||||
platformUpdates.newBuild.number.baselineVersion >= 253) {
|
||||
availableUpdate = platformUpdates
|
||||
return@withTimeout platformUpdates
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user