Skip to content

ci: install jolt via the install script; CLI is jolt, not joltc - #2

Merged
yogthos merged 1 commit into
mainfrom
ci/jolt-rename
Jul 26, 2026
Merged

ci: install jolt via the install script; CLI is jolt, not joltc#2
yogthos merged 1 commit into
mainfrom
ci/jolt-rename

Conversation

@yogthos

@yogthos yogthos commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

jolt v0.5.0 renamed the CLI from joltc to jolt, which broke this repo in three places.

CI (fatal). The workflow resolved the linux release asset, untarred it, and ran chmod +x "$HOME/.jolt/joltc". The archive now contains jolt, so that path stopped existing and the step failed under set -euo pipefail — from the moment v0.5.0 became releases/latest. Rather than just renaming the path, this now installs through jolt's own install script (--dir $HOME/.jolt), which owns the archive and binary naming and verifies the checksum. A future rename can't break it again.

deps.edn — the test task shelled out to joltc, which doesn't exist on PATH for anyone who installed the release (the bin/joltc shim only exists inside a jolt checkout).

README — documented joltc -M:test.

No library code changes: the jolt.time namespaces are untouched, so consumers pinning a :git/sha are unaffected and no new tag is needed. Verified the install script against the v0.5.0 assets locally — installs jolt v0.5.0 with the checksum check passing.

jolt v0.5.0 renamed the CLI, so the workflow's chmod of $HOME/.jolt/joltc
pointed at a path the archive no longer contains and failed under set -e
once v0.5.0 became releases/latest. Install through jolt's own script
instead, which owns the archive and binary naming and checks the sha, so
a future rename can't break this again. The deps.edn test task and the
README ran joltc too, which is not on PATH for a released install.
@yogthos
yogthos merged commit b5e2dba into main Jul 26, 2026
2 checks passed
@yogthos
yogthos deleted the ci/jolt-rename branch July 26, 2026 00:11
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