You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build(just): add 'bump' task for one-command version updates
Manually bumping a version requires touching 3+ files:
* mix.exs (the canonical version)
* github-page/index.html (the curl example)
* README.md (the Publishing section's release flow + examples)
It's easy to forget one — this v0.2.0 -> v0.2.1 bump missed
github-page/index.html (caught in a follow-up commit).
Add a 'just bump <version>' recipe that:
1. Reads the current version from mix.exs
2. Validates the new version is a semver string and != current
3. sed-updates all 3 files
4. Prints reminders for files that need a human (CHANGELOG,
AGENTS.md coverage stat, the skills' own version field)
5. Prints the resulting diff for review
The task is local-only (the maintainer runs it on their laptop
before committing). It uses BSD sed -i '' syntax (macOS). On
Linux the maintainer would need to swap to 'sed -i' (no empty
arg) — left as-is since the task isn't run in CI.
Verified:
* just bump 9.9.9 — works, leaves correct diff
* just bump 0.2.1 — refuses (same as current)
* just bump foo — refuses (not a semver)
* just bump — refuses (no arg, just shows usage)
0 commit comments