diff --git a/build.clj b/build.clj index 1adb288..9d1b90b 100644 --- a/build.clj +++ b/build.clj @@ -8,7 +8,7 @@ (def org "replikativ") (def lib 'io.replikativ/superv.async) (def current-commit (b/git-process {:git-args "rev-parse HEAD"})) -(def version (format "0.3.%s" (b/git-count-revs nil))) +(def version (format "0.7.%s" (b/git-count-revs nil))) (def class-dir "target/classes") (def basis (b/create-basis {:project "deps.edn"})) (def jar-file (format "target/%s-%s.jar" (name lib) version)) @@ -44,11 +44,11 @@ (let [result (exec-fn)] (if (test-fn result) (do (println "Returned: " result) - (if-let [sleep-ms (first idle-times)] - (do (println "Retrying with remaining back-off times (in s): " idle-times) - (Thread/sleep (* 1000 sleep-ms)) - (recur (rest idle-times))) - result)) + (if-let [sleep-ms (first idle-times)] + (do (println "Retrying with remaining back-off times (in s): " idle-times) + (Thread/sleep (* 1000 sleep-ms)) + (recur (rest idle-times))) + result)) result)))) (defn try-release [] @@ -64,6 +64,7 @@ (defn release [_] + (println "Trying to release artifact...") (let [ret (retry-with-fib-backoff 10 try-release :failure?)] (if (:failure? ret) (do (println "GitHub release failed!") diff --git a/deps.edn b/deps.edn index 4a90784..0e93851 100644 --- a/deps.edn +++ b/deps.edn @@ -1,8 +1,8 @@ {:paths ["src"] :deps {org.clojure/clojure {:mvn/version "1.11.1"} - org.clojure/clojurescript {:mvn/version "1.11.60"} org.clojure/core.async {:mvn/version "1.6.673"}} - :aliases {:cljs {:extra-deps {thheller/shadow-cljs {:mvn/version "2.20.20"} + :aliases {:cljs {:extra-deps {org.clojure/clojurescript {:mvn/version "1.11.60"} + thheller/shadow-cljs {:mvn/version "2.22.0"} binaryage/devtools {:mvn/version "1.0.6"}} :extra-paths ["test"]} :test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.77.1236"} @@ -18,15 +18,16 @@ :exec-fn cognitect.test-runner.api/test} :cljs-test {:extra-paths ["test"] :main-opts ["-m" "cljs.main" "-t" "node" "-m" "superv.node-runner"]} - :build {:deps {io.github.seancorfield/build-clj {:git/tag "v0.6.7" - :git/sha "22c2d09"} - borkdude/gh-release-artifact {:git/url "https://github.com/borkdude/gh-release-artifact" - :sha "a83ee8da47d56a80b6380cbb6b4b9274048067bd"} - babashka/babashka.curl {:mvn/version "0.1.1"} - babashka/fs {:mvn/version "0.1.2"} - cheshire/cheshire {:mvn/version "5.10.2"}} + :build {:deps {io.github.clojure/tools.build {:mvn/version "0.9.3"} + slipset/deps-deploy {:mvn/version "0.2.0"} + io.github.borkdude/gh-release-artifact {:git/sha "db5e79559fdbfa009ed4a0921079e20e1e76b269"} + babashka/babashka.curl {:mvn/version "0.1.2"} + babashka/fs {:mvn/version "0.3.17"} + cheshire/cheshire {:mvn/version "5.11.0"}} :ns-default build} :ffix {:extra-deps {cljfmt/cljfmt {:mvn/version "0.9.2"}} :main-opts ["-m" "cljfmt.main" "fix"]} :format {:extra-deps {cljfmt/cljfmt {:mvn/version "0.9.2"}} - :main-opts ["-m" "cljfmt.main" "check"]}}} + :main-opts ["-m" "cljfmt.main" "check"]} + :outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.2.983"}} + :main-opts ["-m" "antq.core"]}}}