diff --git a/.circleci/config.yml b/.circleci/config.yml index 695897af..12da99a3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: build: working_directory: ~/leiningen docker: - - image: clojure:lein-2.7.1 + - image: clojure:lein-2.8.1 steps: - checkout - restore_cache: diff --git a/doc/DEPLOY.md b/doc/DEPLOY.md index 61121203..47f39c8b 100644 --- a/doc/DEPLOY.md +++ b/doc/DEPLOY.md @@ -324,6 +324,13 @@ libraries using Leiningen. Applications will have different requirements that are varied enough that Leiningen doesn't attempt to support them out of the box. +If you just want to change the `deploy` step so it goes to Clojars, you don't +have to replace the whole `:release-tasks` vector, just set this: + +```clojure +:deploy-repositories {"releases" {:url "https://repo.clojars.org" :creds :gpg}} +``` + ### Committing By default, `["vcs" "commit"]` will commit with the message `"Version diff --git a/src/leiningen/deploy.clj b/src/leiningen/deploy.clj index 810b96f4..323ee4a1 100644 --- a/src/leiningen/deploy.clj +++ b/src/leiningen/deploy.clj @@ -37,7 +37,7 @@ [id settings] (do (when @utils/rebound-io? - (main/abort "No credentials found for" id "(did you mean `lein deploy" + (main/abort "No credentials found for " id "(did you mean `lein deploy" "clojars`?)\nPassword prompts are not supported when ran" "after other (potentially)\ninteractive tasks.\nSee `lein" "help deploy` for an explanation of how to specify"