Add Scoop bucket manual-update Justfile recipe#16
Open
johnpmitsch wants to merge 1 commit into
Open
Conversation
Mirrors release-update-homebrew-tap: a maintainer-run command that syncs a Scoop manifest to a local clone of quicknode/scoop-bucket. Until we have a SCOOP_BUCKET_TOKEN PAT to automate the push, this is the manual path. The generated bucket/qn.json includes `checkver = "github"` and an `autoupdate` block, so once a user has tapped the bucket, `scoop update` finds new versions on its own — no recurring manual push needed for every release. We still run the recipe to bump the canonical `version` field (so `scoop search qn` is honest about what's current) and to surface the hash for offline verification. Usage: just release-update-scoop-bucket 0.1.4 ~/qn/scoop-bucket The recipe downloads the Windows zip's sha256 sidecar from the GitHub release, renders the manifest with the version and hash substituted, commits with a clean message, and prints the git push command (it does not push automatically — the maintainer reviews and pushes themselves). When SCOOP_BUCKET_TOKEN exists we'll add a CI publish-scoop workflow modeled on publish-deb, and this recipe becomes a manual-recovery fallback.
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.
Summary
Adds
release-update-scoop-bucket— the Scoop equivalent ofrelease-update-homebrew-tapwe shipped with Phase 3. A maintainer-run command that downloads the Windows zip's sha256 from a release and writes a Scoop manifest (bucket/qn.json) into a local clone ofquicknode/scoop-bucket, then prints the git push command.The manifest includes
checkver = \"github\"and anautoupdateblock, so once a user has tapped the bucket,scoop updatefinds new versions on its own — we only need to run this recipe to keep the canonicalversionfield honest forscoop search.Like the Homebrew recipe, this stays manual until we have a
SCOOP_BUCKET_TOKENPAT to automate the push. At that point we'll add a publish-scoop workflow modeled onpublish-deb.Usage
just release-update-scoop-bucket 0.1.4 ~/qn/scoop-bucketTest plan
just --listshows it).autoupdateblock whose$versionplaceholder is preserved unexpanded.quicknode/scoop-bucket(empty public repo), clone it, run the recipe against v0.1.4, push.scoop install quicknode/qn(orquicknode-cli) entry once the bucket is populated.