Fork me on GitHub
#leiningen
<
2017-02-07
>
fenton01:02:43

is it possible to use 'lein release' to release into clojars? if so what do people do about usernames/passwords etc...

fenton01:02:15

yeah, did that, i'm guessing that you can only 'lein deploy' not 'lein release' which is okay i guess.

rymndhng01:02:02

ah i see, yeah you may have to modify the release-tasks vector

fenton01:02:10

yeah, its this weird thing about gpg prompting, etc..., that it complains about... otherwise release task would be nice as it does all the version changing for you etc...

rymndhng03:02:47

@fenton ah yeah, i haven't tried pushing to clojars yet but i wonder if this would help (I am guessing you're using a mac): https://gist.github.com/bmhatfield/cc21ec0a3a2df963bffa3c1f884b676b#file-gpg-agent-conf-L3

miikka09:02:03

FWIW, I do use lein release to release into Clojars

miikka09:02:22

it only works on one of my laptops but I can't remember why 😛

andrei10:02:14

@miikka probably because of the GPG key setup

bja15:02:43

the s3 wagon plugin that I use to deploy to s3 supports pulling credentials out of the environment

bja15:02:48

:repositories [["s3" {:url ""
                        :username :env/aws_access_key
                        :passphrase :env/aws_secret_key}]]

rymndhng00:02:40

bja: you should upgrade to s3-wagon-private 1.3.0, it supports the default aws credentials provider 🙂 so you don't need custom env vars anymore

bja16:02:03

ooh, thanks!

mrchance17:02:20

Hi, is there a way to do a lein install without installing all the dependencies as well? More like a lein deploy to a local repository?