mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 16:27:33 -10:00
scripts/bump.sh now covers every pinned version, so release prep is one command, grouped as --check prints them: - shared-tools: cursor (only when named), Cursor's CLI pinned in assets/shared-tools/mise.toml, checksums computed from the downloads - e2e: e2e-curl, tests/e2e/transparent_test.go's curlImage by digest - go: go (newest patch: go.mod, docs/go.mod, mise.toml, mise lock), go-minor (only when named), go-mods (direct modules, go get and go mod tidy; a next major's path only reported), deadcode (mise.toml's task) - dev-tools: mise.toml's tools but go, through mise lock - ci: ci-mise (jdx/mise-action's version follows base's mise), actions (uses: by tag commit from gh api, then actionlint and zizmor) - docs: hextra (go get and hugo mod tidy in docs/), mermaid (only when named) --check prints each pin's group and whether a bump is a patch, minor or major. With no tools named, bump.sh applies patches and minors only: never a major, a held pin or a named-only tool; naming an images or e2e tool still applies its major, and e2e-tools always does. Holds come from .github/dependabot.yml's ignore list (pflag < 1.1.0) and bump.sh's own (node on its major). The header lists every pin as "# pin KEY TOOL", or "-" and a reason, and says why the pins outside the scanned files are left (install.sh's Lima, the Homebrew formula, testdata, vendored files). TestBumpCoversPins in internal/structure scans assets/, mise.toml, both go.mod files, the workflows, tests/e2e-mise.lock, tests/e2e's consts and docs/hugo.yaml offline, and fails on an uncovered pin or a stale line. The Pins workflow gets mise and a token for the new checks, and its issue lists outdated pins under their groups. testdata/script/bump.txtar covers the new groups with stubbed upstreams, and caught newest_of failing on an empty list. Co-Authored-By: Claude Opus 5.5 <[email protected]>