Step 1: Install gpg and generate key
For Mac:
Create a keypair with:
Check:
$ gpg --list-keys
↓↓↓↓↓↓↓↓
pub 2048R/2ADFB13E 2013-03-16 [expires: 2014-03-16]
uid Bob Bobson <bob@bobsons.net>
sub 2048R/8D2344D0 2013-03-16 [expires: 2014-03-16]
Get gpg public key:
Copy the entire output (including the BEGIN and END lines), and paste
it into the ‘PGP public key’ field of Clojars profile.
Edit (or create if not exist) ~/.lein/profiles.clj
:
Step 3: Edit your project.clj
Make sure no SNAPSHOT
word in project.clj.
and then execute lein deploy clojars
: