Repository navigation
v0.42.71.0
GBrain now publishes real releases. Every version bump from here on lands on the Releases page with organized notes and downloadable binaries — and binary self-update finally works.
Until now the repo had no releases at all: gbrain check-update could tell you a new version existed, but gbrain self-upgrade downloaded from an empty releases API and failed every time, and anyone trying to follow what shipped had to read raw commit history. That's what people have been (rightly) complaining about.
From this release forward, every version bump automatically:
- Tags the commit (
v0.42.71.0) so versions are addressable in git. - Publishes a GitHub Release whose notes are that version's CHANGELOG entry — the same organized, user-facing writeup, not a commit dump.
- Attaches compiled binaries for macOS (arm64) and Linux (x64), so
gbrain self-upgradeand fresh binary installs work without a toolchain.
The pipeline is idempotent: a partial release (tag exists, assets incomplete) is repaired on the next run instead of wedging. It runs post-merge, so a flaky release build can never turn master red. Releases for today's two fix waves (v0.42.69.0 and v0.42.70.0) have been backfilled with their CHANGELOG notes so the Releases page tells the whole story of the day; binaries attach from v0.42.71.0 onward.
To take advantage of v0.42.71.0
gbrain check-update # now resolves against real releases
gbrain self-upgrade # now actually downloads a binaryOr browse https://github.com/garrytan/gbrain/releases for organized per-version notes.
For contributors
docs/RELEASING.md gains the release-publication section; scripts/changelog-entry.sh extracts a version's CHANGELOG section (used for release notes — keep entries under the standard ## [X.Y.Z.W] headers and they publish verbatim). The workflow keeps all actions SHA-pinned, tightens top-level permissions to contents: read with write scoped to the release job only, and env-binds all interpolations.
Contributed by @time-attack (#3573, closing #3521).