Skip to content

fix(bundle): Pin the brig a bundle carries - #5

Merged
ananos merged 1 commit into
mainfrom
fix/pin-brig-version
Sep 25, 2026
Merged

ananos merged 1 commit into
mainfrom
fix/pin-brig-version

Conversation

@ananos

@ananos ananos commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

build-bundle.sh fetched brig at latest, which includes prereleases. A bundle
therefore carried whatever brig release was newest when it was built, and on
Linux that brig is the one a user gets. It was the only component not pinned.

Changes

  • BRIG_VERSION defaults to v0.2.0, the brig the current bundle already
    carries. BRIG_VERSION=latest still works for a local build.

Why v0.2.0 and not v0.3.0

CI builds a full bundle on every PR, and that build downloads the brig release
the pin names. v0.3.0 is not tagged yet, so pinning it now would fail CI
here. The bump to v0.3.0 goes in with the bundle release cut for it, once the
tag exists.

Tested

sh -n and shellcheck -s sh over build-bundle.sh. The CI bundle build
exercises the pinned fetch.

🤖 Generated with Claude Code

BRIG_VERSION defaulted to "latest", resolved at build time from brig's
releases list, prereleases included. So a bundle tag did not decide its
brig: rebuilding one later, or cutting one while a brig rc was newest,
gave a different binary under the same bundle version. And on Linux this
is the brig a user gets, since brig's install.sh installs the bundle's.

It is pinned now, like every other component in the block, at v0.2.0,
which is what v0.1.0-rc8 carries, so nothing changes today. The next
bundle is cut by bumping it to the brig release it is for. "latest" still
works for a local build.

Signed-off-by: Anastassios Nanos <ananos@nofire.ai>
@ananos
ananos marked this pull request as ready for review September 25, 2026 12:07
@ananos
ananos merged commit 5baa670 into main Sep 25, 2026
5 checks passed
@ananos
ananos deleted the fix/pin-brig-version branch September 25, 2026 12:12
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