Brad Lucas

A blog mostly about programming
October 10, 2017

Deploy To Clojars gpg

I posted a version of ads-txt-crawler to Clojars the other day and ran into a bit of trouble as I was on a new machine.

The command "lein deploy clojars" returned the following error.

Could not sign /Users/brad/work/github/ads-txt-crawler/target/ads-txt-crawler-0.0.6.jar
Cannot run program "gpg": error=20, Not a directory

See `lein help gpg` for how to set up gpg.

Being on a Mac I used to install gpg

#+BEGIN_EXAMPLE
brew install gpg
brew insall gpg-agent
#+END_EXAMPLE

Some other interesting links found related gpg and releasing to Clojars


Tags: clojure