From 44b682de3971a416b0f3867355a0580d90939dd6 Mon Sep 17 00:00:00 2001 From: Choon-Siang Lai Date: Wed, 28 Jun 2023 06:33:39 +0000 Subject: [PATCH] start new shell for build --- webship/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webship/tasks.py b/webship/tasks.py index daf1653..a51d292 100644 --- a/webship/tasks.py +++ b/webship/tasks.py @@ -64,7 +64,7 @@ def build(c, project_name, version, docker_image="python:3.8", from_branch=False c.run(c.webship["build"]["pre_command"]) with c.cd(f"build/{project_name}"): c.run(f"git checkout {git_ref}") - ret = c.run(docker_cmd) + ret = c.run(docker_cmd, pty=True) excludes = "--exclude=.git" tarball_name = f"{target_dir}.tar.gz"