Skip to content

Commit

Permalink
Deploy typo and doc update.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Dec 15, 2017
1 parent 0720e0e commit 02c2486
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 7 additions & 0 deletions doc/DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/leiningen/deploy.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 02c2486

Please sign in to comment.