Open kwladyka opened 3 years ago
I believe it will not read from stdin if you supply CLOJARS_USERNAME and CLOJARS_PASSWORD in the environment.
(defn all-artifacts [sign? {:keys [version] :as coordinates} artifact]
(let [pom (versioned-pom-filename coordinates)
files [pom artifact]
signature-files (when sign? (sign! pom artifact))
all-files (into files signature-files)]
(artifacts version all-files)))
I think it is about sign?
, not clojars user and password. I think I have them set correctly.
I can confirm with signed turned off this issue not appear. I will turn it off then.
It should be possible to sign from ci/cd, so I'll fix that at some point.
I can confirm issue still exist for :sign-releases? true
Execution error (NullPointerException) at deps-deploy.gpg/read-passphrase (gpg.clj:11).
null
Execution error (NullPointerException) at deps-deploy.gpg/read-passphrase (gpg.clj:11).
https://github.com/slipset/deps-deploywhen try to deploy using github actions
As I can see in code it tries to read passphrase from console which is impossible in cicd.