Deploy typo and doc update.

This commit is contained in:
Phil Hagelberg 2017-12-15 09:13:18 -08:00
parent 0720e0ea8a
commit 02c24865ee
3 changed files with 9 additions and 2 deletions

View file

@ -3,7 +3,7 @@ jobs:
build: build:
working_directory: ~/leiningen working_directory: ~/leiningen
docker: docker:
- image: clojure:lein-2.7.1 - image: clojure:lein-2.8.1
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:

View file

@ -324,6 +324,13 @@ libraries using Leiningen. Applications will have different requirements
that are varied enough that Leiningen doesn't attempt to support them that are varied enough that Leiningen doesn't attempt to support them
out of the box. 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 ### Committing
By default, `["vcs" "commit"]` will commit with the message `"Version By default, `["vcs" "commit"]` will commit with the message `"Version

View file

@ -37,7 +37,7 @@
[id settings] [id settings]
(do (do
(when @utils/rebound-io? (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" "clojars`?)\nPassword prompts are not supported when ran"
"after other (potentially)\ninteractive tasks.\nSee `lein" "after other (potentially)\ninteractive tasks.\nSee `lein"
"help deploy` for an explanation of how to specify" "help deploy` for an explanation of how to specify"