Use this checklist before publishing com.github.rainmote/clj-agent-tui to Clojars.
com.github.rainmote/clj-agent-tui.build.clj or set SCM_URL during release.LICENSE.CLOJARS_USERNAME and CLOJARS_PASSWORD).Update CHANGELOG.md and remove Unreleased from the target version.
Commit the release-preparation changes.
Dry-run the tag-driven release task:
bb release v0.1.0-alpha1 --dry-run
Run the one-command release:
export CLOJARS_USERNAME=rainmote
export CLOJARS_PASSWORD='your Clojars deploy token'
bb release v0.1.0-alpha1
The task derives VERSION=0.1.0-alpha1 from the Git tag, then runs tests,
lint, public API smoke, cljdoc config validation, jar build, annotated tag
creation, branch/tag push to origin, and clojure -T:build deploy.
Verify Clojars and cljdoc render the published version.
--dry-run prints commands without running them.--no-push skips pushing the current branch and tag to origin.--no-deploy skips Clojars deploy.--skip-tests skips clojure -M:test.--skip-lint skips clojure -M:lint.--allow-dirty allows releasing from a dirty working tree.clojure -M:test
clojure -M:lint
clojure -M -e "(require '[clj-agent-tui.core :as tui]) (println :ok)"
curl -fsSL https://raw.githubusercontent.com/cljdoc/cljdoc/master/script/verify-cljdoc-edn | bash -s doc/cljdoc.edn
VERSION=0.1.0-alpha1 clojure -T:build jar
git tag -a v0.1.0-alpha1 -m "Release v0.1.0-alpha1"
git push origin main
git push origin v0.1.0-alpha1
VERSION=0.1.0-alpha1 clojure -T:build deploy
Default dependency resolution uses the published de.timokramer/charm.clj Maven
artifact so this library can be consumed from Clojars. Local development against
a sibling checkout is still available with:
clojure -M:dev:test
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 |