From 4b292eb272cea1f2411310d6bfe0e33eed19f444 Mon Sep 17 00:00:00 2001 From: A Ibrahim Date: Fri, 3 Jul 2026 09:23:01 +0200 Subject: [PATCH 1/2] ci: drop obsolete "npm version" step from build-binaries With Changesets the version bump is committed to package.json, so the build-binaries job checks out a v tag that already carries the right version. The old `npm version --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) --- .github/workflows/release.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a7c9a65..8541f9a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -104,9 +104,6 @@ jobs: - run: npm ci - - name: Set version in package.json - run: npm version ${{ needs.release.outputs.new_release_version }} --no-git-tag-version - - name: Build binaries for all platforms run: npm run build:binary From 5880506cec6d60fb6c2ad24640d93dacccbba2ed Mon Sep 17 00:00:00 2001 From: A Ibrahim Date: Fri, 3 Jul 2026 09:35:49 +0200 Subject: [PATCH 2/2] ci: drop redundant github.ref 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 `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) --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8541f9a..a888919 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -178,7 +178,7 @@ jobs: update-homebrew: needs: [release, build-binaries] - if: needs.release.outputs.new_release_published == 'true' && github.ref == 'refs/heads/main' + if: needs.release.outputs.new_release_published == 'true' runs-on: ubuntu-latest steps: