Create a release.edn file in your project root, eg:
{:group-id "mhuebert"
:artifact-id "deps-lib"
:scm-url "https://github.com/mhuebert/deps-lib"}
Add a :release alias to your deps.edn as follows:
:aliases
{:release
{:extra-deps {mhuebert/deps-lib {:local/root "../deps-lib"}}
:main-opts ["-m" "deps-lib.release"]}}
Create an initial version tag (if you haven't already)
git tag v0.1.0
To bump versions:
clj -A:release tag <patch, minor, major>
To deploy: (requires CLOJARS_USERNAME and CLOJARS_PASSWORD environment variables set)
clj -A:release
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |