@@ -5,7 +5,6 @@ import com.github.jk1.license.render.JsonReportRenderer
55import com.jetbrains.plugin.structure.toolbox.ToolboxMeta
66import com.jetbrains.plugin.structure.toolbox.ToolboxPluginDescriptor
77import org.jetbrains.intellij.pluginRepository.PluginRepositoryFactory
8- import org.jetbrains.intellij.pluginRepository.model.LicenseUrl
98import org.jetbrains.intellij.pluginRepository.model.ProductFamily
109import org.jetbrains.kotlin.com.intellij.openapi.util.SystemInfoRt
1110import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@@ -217,26 +216,15 @@ val publishPlugin by tasks.registering {
217216 pluginMarketplaceToken
218217 )
219218
220- if (extension.version == " 0.1.0" ) {
221- instance.uploader.uploadNewPlugin(
222- pluginZip.outputs.files.singleFile,
223- listOf (" toolbox" , " gateway" ), // do not change
224- LicenseUrl .MIT , // choose wisely
225- ProductFamily .TOOLBOX , // do not change
226- extension.meta.vendor, // do not change
227- isHidden = true
228- )
229- } else {
230- // !!! subsequent updates !!!
231- instance.uploader.uploadUpdateByXmlIdAndFamily(
232- extension.id, // do not change
233- ProductFamily .TOOLBOX , // do not change
234- pluginZip.outputs.files.singleFile, // do not change
235- null , // do not change. Channels will be available later
236- " Bug fixes and improvements" ,
237- true
238- )
239- }
219+ // !!! subsequent updates !!!
220+ instance.uploader.uploadUpdateByXmlIdAndFamily(
221+ extension.id, // do not change
222+ ProductFamily .TOOLBOX , // do not change
223+ pluginZip.outputs.files.singleFile, // do not change
224+ null , // do not change. Channels will be available later
225+ " Bug fixes and improvements" ,
226+ true
227+ )
240228 }
241229}
242230
0 commit comments