Check for a newer Sume CLI release in CI without auto-upgrading
sume update --check reports whether a newer GitHub Release exists and changes no files. Run it on a schedule, log it, and bump your pinned tag by pull request.

sume update --check tells you whether a newer GitHub Release exists and, per the install docs, it does not modify local files. In CI, run it on a schedule, save the text, and treat an upgrade as a deliberate change to the tag you pin.
What is documented
The docs do not specify the output format or an exit code for the "newer release exists" case, so do not build a gate on parsing it. Use it as a notification and keep the pin as the source of truth.
| Command | Documented behavior |
|---|---|
sume version | Prints the installed version |
sume update --check | Reports whether a newer GitHub Release exists, without changing files |
| Hosted installer | Re-run it when you choose to upgrade |
| Pinned install | Replace latest in the release URL with a tag such as v0.1.6 |
A scheduled report
A nightly job can write both outputs to one file that your team reads or diffs. It never installs anything.
set -euo pipefail
{
echo "installed: $(sume version)"
echo "check:"
sume update --check
} | tee cli-version-report.txtScope of the job
The report step runs only sume version and sume update --check, both listed in the CLI command reference as plain commands with no job submit or confirm flag, so it triggers no paid generation.
How to upgrade
When the report shows a newer release, open a pull request that edits the pinned tag in your install step. The checksum and pin recipe covers the verification side. Re-run sume doctor --agent --json after the bump.
Sources
Related posts
More in Developers
- Sume uploadFile with raw bytes needs a content type, or no request
uploadFile refuses a Uint8Array or ArrayBuffer without contentType and throws SumeUploadError at step create before any call. Pass a typed Blob or a MIME.
- Patching Supabase Postgres 17.11 vs Sume's 10-attempt webhook budget
Supabase's September 25 Postgres 15.19 and 17.11 releases fix 44 CVEs. A restart can outlast Sume's ten 30-second webhook attempts, so plan a redeliver.
- Supabase cached egress is $0.03/GB: cost of serving a 20 MB AI clip
Supabase lists cached Storage egress at $0.03 per GB. Worked arithmetic for serving generated clips, and when to link a Sume media URL instead of copying.
- Find Sume jobs still queued or processing after 30 minutes
A scheduled script lists queued and processing jobs from GET /v1/jobs, picks those older than a cutoff, and prints each so you recover instead of resubmit.
Written by Sume