@@ -5,7 +5,6 @@ import com.github.jk1.license.render.JsonReportRenderer
5
5
import com.jetbrains.plugin.structure.toolbox.ToolboxMeta
6
6
import com.jetbrains.plugin.structure.toolbox.ToolboxPluginDescriptor
7
7
import org.jetbrains.intellij.pluginRepository.PluginRepositoryFactory
8
- import org.jetbrains.intellij.pluginRepository.model.LicenseUrl
9
8
import org.jetbrains.intellij.pluginRepository.model.ProductFamily
10
9
import org.jetbrains.kotlin.com.intellij.openapi.util.SystemInfoRt
11
10
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@@ -217,26 +216,15 @@ val publishPlugin by tasks.registering {
217
216
pluginMarketplaceToken
218
217
)
219
218
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
+ )
240
228
}
241
229
}
242
230
0 commit comments