From 8a0acd832abf2c6795a7e17c704bba3f5b27f438 Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Tue, 24 Apr 2018 19:13:18 +0700 Subject: [PATCH] Fix path for the uploadBundle task --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index ef2094829e1..b77d236f7d5 100644 --- a/build.gradle +++ b/build.gradle @@ -401,7 +401,7 @@ task bundle(type: (isWindows()) ? Zip : Tar) { task uploadBundle { dependsOn ':bundle' doLast { - def kind = konanVersion.contains("dev") ? "dev" : "releases" + def kind = (KonanVersion.CURRENT.meta == MetaVersion.DEV) ? "dev" : "releases" def ftpSettings = [ server: project.findProperty("cdnUrl") ?: System.getenv("CDN_URL"), userid: project.findProperty("cdnUser") ?: System.getenv("CDN_USER"),