File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -131,4 +131,13 @@ tasks {
131131 systemProperty(" jb.privacy.policy.text" , " <!--999.999-->" )
132132 systemProperty(" jb.consents.confirmation.enabled" , " false" )
133133 }
134+
135+ publishPlugin {
136+ dependsOn(" patchChangelog" )
137+ token.set(System .getenv(" PUBLISH_TOKEN" ))
138+ // pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3
139+ // Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:
140+ // https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
141+ channels.set(listOf (properties(" pluginVersion" ).split(' -' ).getOrElse(1 ) { " default" }.split(' .' ).first()))
142+ }
134143}
You can’t perform that action at this time.
0 commit comments