Repository navigation
chore: drop cliff.toml and trim install.sh to a bootstrap - #8
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cliff.tomlhas had no reader since release-please took overCHANGELOG.mdand goreleaser took over release notes. It's gone.scripts/install.shused to compare installed and latest versions, accept--force, fall back to wget, and re-sign the binary on macOS.argus self updatenow 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 andchecksums.txt, verifies the sha256, and installs to/usr/local/binor~/.local/bin.ARGUS_INSTALL_DIRoverrides 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'sversioncommand. The same without--taginstalls v0.6.0.