Skip to content

Commit

Permalink
build script channel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Feb 28, 2024
1 parent 34c5f51 commit 51b1c41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions studio-idea-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ version = properties("pluginVersion")
var publishChannel = properties("publishChannel")
var buildNumber = properties("buildNumber")

if (publishChannel == "stable") {
publishChannel = "default"
}

if (gradle.startParameter.taskNames.contains("publishPlugin")
&& publishChannel != "default"
&& publishChannel != "snapshot"
Expand Down

0 comments on commit 51b1c41

Please sign in to comment.