diff --git a/doc/development.md b/doc/development.md index b0721609..1f418649 100644 --- a/doc/development.md +++ b/doc/development.md @@ -49,7 +49,7 @@ git tag 1.0.0 lein test # deploy to clojars -./scripts/lein-modules do clean, deploy clojars +CLOJARS_USERNAME=*** CLOJARS_PASSWORD=*** ./scripts/lein-modules do clean, deploy clojars # push the commit and the tag git push diff --git a/project.clj b/project.clj index a74fd71d..2a18a737 100644 --- a/project.clj +++ b/project.clj @@ -4,7 +4,10 @@ :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :test-paths ["test/clj" "test/cljc"] - :deploy-repositories [["releases" :clojars]] + :deploy-repositories {"clojars" {:url "https://repo.clojars.org" + :sign-releases false + :username :env/clojars_username + :password :env/clojars_password}} :codox {:output-path "doc" :source-uri "https://github.com/metosin/reitit/{version}/{filepath}#L{line}" :metadata {:doc/format :markdown}}