diff --git a/.space.kts b/.space.kts index 1199254e..69d8ef2e 100644 --- a/.space.kts +++ b/.space.kts @@ -28,7 +28,7 @@ job("Paddle / Release / Docker") { } } - val version = "0.4.6" + val version = "0.4.7" val types = listOf("3.9").map { "paddle-py-${it.replace(".", "-")}" } diff --git a/build.gradle.kts b/build.gradle.kts index 774b9ba9..542f74c3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ group = "io.paddle" -version = "0.4.6" +version = "0.4.7" plugins { kotlin("jvm") version "1.7.10" apply false diff --git a/cli/src/main/kotlin/io/paddle/Application.kt b/cli/src/main/kotlin/io/paddle/Application.kt index 077feef1..e934889a 100644 --- a/cli/src/main/kotlin/io/paddle/Application.kt +++ b/cli/src/main/kotlin/io/paddle/Application.kt @@ -2,13 +2,11 @@ package io.paddle import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.parameters.arguments.argument -import com.github.ajalt.clikt.parameters.arguments.optional -import com.github.ajalt.clikt.parameters.options.flag -import com.github.ajalt.clikt.parameters.options.option import io.paddle.project.PaddleProjectProvider import io.paddle.project.extensions.descriptor import io.paddle.tasks.Task import java.io.File +import kotlin.system.exitProcess class Paddle : CliktCommand() { private val taskRoute by argument( @@ -38,7 +36,7 @@ class Paddle : CliktCommand() { project.execute(taskId = taskRoute) } } catch (e: Task.ActException) { - return + exitProcess(1) } } } diff --git a/scripts/docker/Dockerfile b/scripts/docker/Dockerfile index c753e796..429455fc 100644 --- a/scripts/docker/Dockerfile +++ b/scripts/docker/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:20.04 as downloader -ARG PADDLE_VERSION='0.4.6' +ARG PADDLE_VERSION='0.4.7' RUN apt-get update && apt-get -y install wget RUN wget -O /paddle.jar "https://github.com/JetBrains-Research/paddle/releases/download/v${PADDLE_VERSION}/paddle-${PADDLE_VERSION}-all.jar"