Skip to content

Release tooling: build.clj, CI, Clojars release on tag - #2

Merged
jiriknesl merged 2 commits into
masterfrom
release
Nov 12, 2026
Merged

jiriknesl merged 2 commits into
masterfrom
release

Conversation

@jiriknesl

Copy link
Copy Markdown
Contributor

Release tooling so that v1.0.0 can be published to Clojars.

  • build.clj with tools.build and deps-deploy: clojure -T:build jar | install | deploy. Coordinate io.github.flexiana/orhof; version from ORHOF_VERSION.
  • .github/workflows/ci.yml: runs the tests and builds the jar on pushes to master and on pull requests. This PR is its first run.
  • .github/workflows/release.yml: on a v* tag, runs the tests and deploys that version to Clojars. It can also be run by hand for an existing tag.
  • README install section, release notes, CHANGELOG.

Before tagging v1.0.0:

  1. Clojars: log in with GitHub and verify the group io.github.flexiana (Clojars asks for a public repository with a given name under the org).
  2. Clojars: create a deploy token.
  3. GitHub, Settings → Secrets → Actions: add CLOJARS_USERNAME and CLOJARS_PASSWORD (the token).

Generated by Claude Code

jiriknesl and others added 2 commits November 12, 2026 11:54
- build.clj (tools.build + deps-deploy): jar, install, deploy as
  io.github.flexiana/orhof; the version comes from ORHOF_VERSION
- CI workflow: tests and jar build on every push to master and PR
- Release workflow: on a v* tag, tests and deploys that version to
  Clojars using the CLOJARS_USERNAME and CLOJARS_PASSWORD secrets
- README install and release notes, CHANGELOG

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0175SapbRuht3U6JyS2RSKJz
tools.build and deps-deploy bring clashing Maven libraries, so the jar
build failed with ClassNotFoundException DefaultMavenSettingsBuilder.
Deploy now runs from its own :deploy alias, and CI exercises it with a
local install.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0175SapbRuht3U6JyS2RSKJz
@jiriknesl
jiriknesl merged commit f3e85cf into master Nov 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant