Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8e09581

Browse files
authored
build: update publish task (#54)
- initial publish was done manually
1 parentda7656f commit8e09581

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
importcom.jetbrains.plugin.structure.toolbox.ToolboxMeta
66
importcom.jetbrains.plugin.structure.toolbox.ToolboxPluginDescriptor
77
importorg.jetbrains.intellij.pluginRepository.PluginRepositoryFactory
8-
importorg.jetbrains.intellij.pluginRepository.model.LicenseUrl
98
importorg.jetbrains.intellij.pluginRepository.model.ProductFamily
109
importorg.jetbrains.kotlin.com.intellij.openapi.util.SystemInfoRt
1110
importorg.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)

[8]ページ先頭

©2009-2025 Movatter.jp