fix release script
Chris Lee @klee93
1 files changed,
3 insertions(+),
2 deletions(-)
jump to
M
new-release.py
→
new-release.py
@@ -55,13 +55,14 @@ return s
def run(s): - proc = subprocess.Popen(cmd(s), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True) + proc = subprocess.Popen(cmd(s), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) ret = proc.wait() - out = proc.communicate()[0] + out, err = proc.communicate() for line in out.split("\n"): debug(ansi_pinky + line + ansi_reset) debug(ansi_pinky + "Exit code: " + str(ret)) if ret != 0: + print(err) raise Exception("Command failed!") return out