File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5151 CERTIFICATE_CHAIN : ${{ secrets.CERTIFICATE_CHAIN }}
5252 PRIVATE_KEY : ${{ secrets.PRIVATE_KEY }}
5353 PRIVATE_KEY_PASSWORD : ${{ secrets.PRIVATE_KEY_PASSWORD }}
54- run : ./gradlew publishPlugin
54+ run : ./gradlew publishPlugin -Pversion=${{ github.event.release.tag_name }}
5555
5656 # Upload artifact as a release asset
5757 - name : Upload Release Asset
Original file line number Diff line number Diff line change @@ -139,8 +139,9 @@ intellijPlatform {
139139
140140 publishing {
141141 token = providers.environmentVariable(" PUBLISH_TOKEN" )
142- channels =
143- providers.gradleProperty(" pluginVersion" ).map { listOf (it.substringAfter(' -' , " " ).substringBefore(' .' ).ifEmpty { " default" }) }
142+ version =
143+ providers.gradleProperty(" pluginVersion" ).map { it.substringBefore(' -' , " " ) }
144+ channels = listOf (" default" )
144145 }
145146
146147 pluginVerification {
You can’t perform that action at this time.
0 commit comments