Send API version instead of build number for plugin update checks
#KT-21263 Fixed
This commit is contained in:
@@ -173,7 +173,7 @@ class KotlinPluginUpdater(val propertiesComponent: PropertiesComponent) : Dispos
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun checkUpdatesInMainRepository(): PluginUpdateStatus {
|
private fun checkUpdatesInMainRepository(): PluginUpdateStatus {
|
||||||
val buildNumber = ApplicationInfo.getInstance().build.asString()
|
val buildNumber = ApplicationInfo.getInstance().apiVersion
|
||||||
val currentVersion = KotlinPluginUtil.getPluginVersion()
|
val currentVersion = KotlinPluginUtil.getPluginVersion()
|
||||||
val os = URLEncoder.encode(SystemInfo.OS_NAME + " " + SystemInfo.OS_VERSION, CharsetToolkit.UTF8)
|
val os = URLEncoder.encode(SystemInfo.OS_NAME + " " + SystemInfo.OS_VERSION, CharsetToolkit.UTF8)
|
||||||
val uid = UpdateChecker.getInstallationUID(propertiesComponent)
|
val uid = UpdateChecker.getInstallationUID(propertiesComponent)
|
||||||
|
|||||||
Reference in New Issue
Block a user