Skip to content

Commit 8e09581

Browse files
authored
build: update publish task (#54)
- initial publish was done manually
1 parent da7656f commit 8e09581

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

build.gradle.kts

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import com.github.jk1.license.render.JsonReportRenderer
55
import com.jetbrains.plugin.structure.toolbox.ToolboxMeta
66
import com.jetbrains.plugin.structure.toolbox.ToolboxPluginDescriptor
77
import org.jetbrains.intellij.pluginRepository.PluginRepositoryFactory
8-
import org.jetbrains.intellij.pluginRepository.model.LicenseUrl
98
import org.jetbrains.intellij.pluginRepository.model.ProductFamily
109
import org.jetbrains.kotlin.com.intellij.openapi.util.SystemInfoRt
1110
import 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

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy