fix build script

This commit is contained in:
Dmitry Jemerov
2016-11-15 16:49:47 +01:00
parent 3d3c3b9ebb
commit cc6722ad78
+4 -1
View File
@@ -18,7 +18,10 @@ task uploadPlugins() << {
if (channel == "_default_") {
channel = null
}
def path = env['PLUGIN_UPLOAD_PATH'] || "."
def path = env['PLUGIN_UPLOAD_PATH']
if (path == null) {
path = "."
}
def repo = new org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance(
"https://plugins.jetbrains.com/",
username, password)