This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-28
Channels
- # aws (1)
- # aws-lambda (1)
- # beginners (19)
- # boot (7)
- # cider (9)
- # cljs-dev (311)
- # cljsjs (34)
- # cljsrn (8)
- # clojars (7)
- # clojure (41)
- # clojure-argentina (3)
- # clojure-russia (15)
- # clojure-spec (15)
- # clojure-uk (11)
- # clojurescript (83)
- # datomic (45)
- # emacs (7)
- # hoplon (13)
- # klipse (2)
- # lein-figwheel (1)
- # luminus (3)
- # om-next (1)
- # parinfer (5)
- # perun (1)
- # planck (1)
- # reagent (5)
- # spacemacs (2)
- # untangled (1)
- # yada (1)
I'm having a bit of trouble with deploying to clojars (windows install). When I ran lein deploy clojars
it asks for credentials then I got:
Could not sign D:\home\devel\dithcord\target\dithcord-0.0.8.jar
gpg: no default secret key: secret key not available
gpg: signing failed: secret key not available
Tried to gpg --gen-key
, filled in all the blanks, tried again, got:
Could not sign D:\home\devel\dithcord\target\dithcord-0.0.8.jar
gpg: cannot open tty `no tty': No such file or directory
However, I (mistakenly) did this in another project (had 2 windows opened) and it worked flawlessly (and defproject doesn't even have my org name!). anyone know how I can fix this?I've had the no tty thing before, although I enabled it in the gnupg conf
Not sure how it would work in one terminal and not the other. Maybe environment vars got set?
> defproject doesn't even have my org name That shouldn't make any difference, GPG signing isn't tied to group IDs or artifact names
TBH, GPG is a royal pain on Windows
@eslachance If you want, you can set your :deploy-repositories
to :sign-releases false
, e.g. https://github.com/Day8/re-frame/blob/b05dce4ba6bdb62671437decee983e76f587efc2/project.clj#L30-L31
Oh there we go. I was reading vaguely that it was possible to do that but no examples I could do