Skip to content

Commit 50816b2

Browse files
committed
build:固定插件发布通道为默认通道
- 修改 build.gradle.kts 文件中的插件发布通道设置 - 将动态获取的通道名称改为固定的 "default",确保稳定性
1 parent 0609823 commit 50816b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ tasks {
122122
// The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3
123123
// Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:
124124
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
125-
channels = properties("pluginVersion").map { listOf(it.split('-').getOrElse(1) { "default" }.split('.').first()) }
125+
channels.set(listOf("default"))
126126
}
127127
}

0 commit comments

Comments
 (0)