From 35f8a64fbcf0f3d3acd32a4f74f99edd2b8e0014 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sat, 25 Jun 2022 11:47:32 +0200 Subject: [PATCH] release stuff --- README.md | 8 ++++---- bb.edn | 14 +++----------- version.edn | 2 +- 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 3ea7bfe..85450b4 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Works in [clojure JVM](#clojure) and [babashka](#babashka). To your `deps.edn` add an alias: ``` clojure -:serve {:deps {org.babashka/http-server {:mvn/version "0.1.5"}} +:serve {:deps {org.babashka/http-server {:mvn/version "0.1.6"}} :main-opts ["-m" "babashka.http-server"] :exec-fn babashka.http-server/exec} ``` @@ -33,7 +33,7 @@ clj -X:serve :port 1339 :dir '"."' Or install as a tool: ``` clojure -$ clj -Ttools install io.github.babashka/http-server '{:git/tag "v0.1.5"}' :as serve +$ clj -Ttools install io.github.babashka/http-server '{:git/tag "v0.1.6"}' :as serve $ clj -Tserve exec ``` @@ -46,7 +46,7 @@ In a script, e.g. `/usr/local/bin/http-server`: (require '[babashka.deps :as deps]) (deps/add-deps - '{:deps {org.babashka/http-server {:mvn/version "0.1.5"}}}) + '{:deps {org.babashka/http-server {:mvn/version "0.1.6"}}}) (require '[babashka.http-server :as http-server]) @@ -62,7 +62,7 @@ $ http-server --port 8888 --dir resources/public In `bb.edn` [tasks](https://book.babashka.org/#tasks): ``` clojure -{:deps {org.babashka/http-server {:mvn/version "0.1.5"} +{:deps {org.babashka/http-server {:mvn/version "0.1.6"} org.babashka/cli {:mvn/version "0.2.23"}} :tasks {:requires ([babashka.cli :as cli]) diff --git a/bb.edn b/bb.edn index f855cb2..350efdc 100644 --- a/bb.edn +++ b/bb.edn @@ -36,16 +36,9 @@ (ghr/overwrite-asset {:org "babashka" :repo "http-server" :file "http-server.jar" - :draft true + :draft false :tag (str "v" (utils/format-version))}))} - complete-release {:doc "Mark release as completed" - :requires ([borkdude.gh-release-artifact :as ghr]) - :task (ghr/create-release {:org "babashka" - :repo "http-server" - :draft false - :tag (str "v" (utils/format-version))})} - tag {:doc "Create and push tag" :task (do (shell "git tag" (str "v" (utils/format-version))) (shell "git push --tags"))} @@ -64,9 +57,8 @@ (when-not (:skip-bump cmd-line-opts) (run 'bump-release)) (println "Uploading jar") - (run 'upload-jar) (run 'tag) - (clojure "-T:build deploy") - (run 'complete-release))} + (run 'upload-jar) + (clojure "-T:build deploy"))} }} diff --git a/version.edn b/version.edn index 21fc0a7..e24d0dc 100644 --- a/version.edn +++ b/version.edn @@ -1 +1 @@ -{:major 0, :minor 1, :release 5} \ No newline at end of file +{:major 0, :minor 1, :release 6} \ No newline at end of file