tools-deps

Shantanu Kumar 2025-03-17T11:01:08.101859Z

Hi, I am trying to upload a forked Java library JAR to Clojars under my Github org using https://github.com/slipset/deps-deploy but running into error. My deps.edn is simply this:

{:deploy {:extra-deps {slipset/deps-deploy {:mvn/version "0.2.2"}}
          :exec-fn deps-deploy.deps-deploy/deploy
          :exec-args {:installer :remote
                       :sign-releases? false
                       :artifact "deps-deploy.jar"}}}
I am running the following command:
$ CLOJARS_USERNAME=<redacted> CLOJARS_PASSWORD=<redacted> clj -X:deploy
No function found on command line or in :exec-fn
Can anyone please point out what am I missing?

Shantanu Kumar 2025-03-17T11:29:13.220949Z

This is resolved. I just needed to put :deploy under :aliases.