Skip to content

chore: drop cliff.toml and trim install.sh to a bootstrap - #8

Merged
bfirestone merged 2 commits into
mainfrom
chore/trim-install-bootstrap
Sep 9, 2026
Merged

bfirestone merged 2 commits into
mainfrom
chore/trim-install-bootstrap

Conversation

@bfirestone

Copy link
Copy Markdown
Contributor

cliff.toml has had no reader since release-please took over CHANGELOG.md and goreleaser took over release notes. It's gone.

scripts/install.sh used to compare installed and latest versions, accept --force, fall back to wget, and re-sign the binary on macOS. argus self update now does the update path with checksum verification, so the script only needs to get a first binary onto disk. It now detects the platform, resolves the latest stable tag (or --tag=), downloads the tarball and checksums.txt, verifies the sha256, and installs to /usr/local/bin or ~/.local/bin. ARGUS_INSTALL_DIR overrides the target. 412 lines became 87 and shellcheck is clean.

Verify: ARGUS_INSTALL_DIR=$(mktemp -d) bash scripts/install.sh --tag=v0.7.0-rc.2, then run the installed binary's version command. The same without --tag installs v0.6.0.

release-please writes CHANGELOG.md and goreleaser writes the release notes. Nothing has read cliff.toml since the release pipeline was set up.
The script carried version comparison, a force flag and macOS re-signing that argus self update now owns. It now downloads one tarball, verifies it against checksums.txt and installs the binary. ARGUS_INSTALL_DIR overrides the target directory.
@bfirestone
bfirestone merged commit 6c795a2 into main Sep 9, 2026
1 check passed
@bfirestone
bfirestone deleted the chore/trim-install-bootstrap branch September 9, 2026 07:42
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