Skip to content

Commit 95f786c

Browse files
authored
Merge pull request #32 from ServiceStack/publish-channel
parameterize publish channel
2 parents c38934a + dfa5399 commit 95f786c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/ServiceStackIDEA/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ if(System.env.BUILD_NUMBER != null && System.env.SERVICESTACKIDEA_PUBLISH_NIGHTL
1212
// Append build number to version for a new nightly build version to be published.
1313
version = "${version}.$System.env.BUILD_NUMBER"
1414
}
15-
1615
String jbToken;
16+
String publishChannel;
1717

1818
if (properties.getProperty("jetbrains.plugins.user", null) == null) {
1919
properties.load(project.file('./local.properties').newDataInputStream())
2020
}
2121
jbToken = properties.getProperty("jetbrains.plugins.token");
22+
if (properties.getProperty("jetbrains.plugins.publishChannel", null) != null) {
23+
publishChannel = properties.getProperty("jetbrains.plugins.publishChannel");
24+
}
2225

2326
intellij {
2427
version 'IC-14.1.4'
@@ -28,6 +31,6 @@ intellij {
2831

2932
publishPlugin {
3033
token jbToken
31-
channels 'beta'
34+
channels publishChannel
3235
}
3336
}

0 commit comments

Comments
 (0)