From 279dadfd48e287c3abe12321622bffe9beab31e8 Mon Sep 17 00:00:00 2001 From: Artem Medeu Date: Wed, 10 Jul 2024 14:54:00 +0500 Subject: [PATCH 1/2] chore: release name --- .github/workflows/release_binary.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_binary.yml b/.github/workflows/release_binary.yml index be72fd8..a911c36 100644 --- a/.github/workflows/release_binary.yml +++ b/.github/workflows/release_binary.yml @@ -115,5 +115,7 @@ jobs: mv checksums.txt bin/checksums.txt - name: GH Release - run: gh release create ${{ needs.build.outputs.release_tag }} bin/* + run: | + gh release create ${{ needs.build.outputs.release_tag }} bin/* \ + --title "Release ${{ needs.build.outputs.release_tag }}" From 3d406062fedb343a7da245abf79e7296924d6ef2 Mon Sep 17 00:00:00 2001 From: Artem Medeu Date: Wed, 10 Jul 2024 14:54:48 +0500 Subject: [PATCH 2/2] fix: await repl process shutdown --- src/k16/kmono/repl/deps.clj | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/k16/kmono/repl/deps.clj b/src/k16/kmono/repl/deps.clj index 3a2ecf5..2eda313 100644 --- a/src/k16/kmono/repl/deps.clj +++ b/src/k16/kmono/repl/deps.clj @@ -266,8 +266,12 @@ (ansi/print-info "Running clojure...") (when verbose? (print-clojure-cmd sdeps-overrides main-opts)) - (let [proc (bp/shell {:continue true} clojure-cmd)] + (let [proc (bp/process {:inherit true} clojure-cmd)] (doto (Runtime/getRuntime) - (.addShutdownHook (Thread. (fn [] (bp/destroy proc))))) + (.addShutdownHook + (Thread. + (fn [] + (bp/destroy proc) + (bp/check proc))))) (bp/check proc)))))