Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

ci: fix build-binaries version step; tidy homebrew guard#125

Merged
designcode merged 2 commits into
mainfrom
fix/build-binaries-set-version
Jul 3, 2026
Merged

ci: fix build-binaries version step; tidy homebrew guard#125
designcode merged 2 commits into
mainfrom
fix/build-binaries-set-version

Conversation

@designcode

@designcode designcode commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Two post-Changesets cleanups to the release workflow:

1. Drop the obsolete npm version step from build-binaries

Under semantic-release, package.json stayed at 0.0.1 in-repo, so the binary job stamped the real version with npm version <v> --no-git-tag-version. With Changesets the version bump is committed, so the checked-out v<version> tag already has the right version — and npm version 3.4.0 now errors with Version not changed, failing the job and blocking the binary + Homebrew stage (this is what broke the 3.4.0 binary release).

2. Drop the redundant github.ref == 'refs/heads/main' guard from update-homebrew

The release job only runs on push to main, and build-binaries (which update-homebrew depends on) has no such guard, so the extra check was redundant. Now both jobs share the same published == 'true' condition.

npm publish itself is unaffected — this only unblocks/​tidies the binary + Homebrew stage for future releases.

🤖 Generated with Claude Code

With Changesets the version bump is committed to package.json, so the
build-binaries job checks out a v<version> tag that already carries the
right version. The old `npm version <v> --no-git-tag-version` step now
fails with "Version not changed" and blocks the binary + Homebrew stage.

Assisted-by: Claude Opus 4.8 via Claude Code
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The release job only runs on push to main, and build-binaries (which
update-homebrew depends on) has no such guard, so the extra
`github.ref == 'refs/heads/main'` check was redundant.

Assisted-by: Claude Opus 4.8 via Claude Code
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@designcode
designcode merged commit d7bec0d into main Jul 3, 2026
3 checks passed
@designcode
designcode deleted the fix/build-binaries-set-version branch July 3, 2026 07:37
@designcode designcode changed the title ci: drop obsolete "npm version" step from build-binaries ci: fix build-binaries version step; tidy homebrew guard Jul 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants