Can you provide more details? What is in your project.clj
? What does your ~/.lein/profiles.clj
contain? What exact command did you run?
Try adding this to your project.clj
:deploy-repositories [["releases" {:sign-releases false :url "<https://clojars.org/repo>"}]
["snapshots" {:sign-releases false :url "<https://clojars.org/repo>"}]]
And then lein deploy clojars
.
I'm assuming you already did lein jar
to create the jar in the first place. I also assume you have set up a clojars account and deploy token; and have placed each of them in the appropriate environment variable.
The content of ~/.lein/profiles.clj
is as follows
{:user {:plugins [[luminus/lein-template "2.9.9.2"]]}}
The content of project.clj
is
(defproject sql-compose "0.1.0"
:description "A simple sql query composer for clojure."
:url "<https://github.com/ludbek/sql-compose>"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "<https://www.eclipse.org/legal/epl-2.0/>"}
:dependencies [[org.clojure/clojure "1.10.1"]]
:repl-options {:init-ns sql-compose.core})
I issued lein deploy clojars :sign-releases false