Set the beta channel via package.json, and tag only after a good build - #27
Merged
MyNamesEMurray merged 1 commit intoJul 27, 2026
Merged
Conversation
The -c.publish.channel=beta flag added in the previous fix never applied. On windows-latest, GitHub runs `run:` steps through PowerShell, which does not preserve electron-builder's dotted-override form — the CLI parsed it as the -c (config file) alias and died: ENOENT: no such file or directory, open '...\.publish.channel=beta' Set build.publish.channel with `npm pkg set` instead. That is shell-agnostic and already how this workflow stamps the version. Confirmed locally that it adds the key without disturbing provider/owner/repo. Tagging moves to after the build and the feed check. Tagging first meant a failed run still pushed its tag, burning the number with no release behind it — v3.8.1-beta.2 is exactly that, an orphan from the run this fixes. Worth noting what did work: the verify step caught this. The run went red with no release, instead of publishing another installer with no update feed. That is the guard doing its job on its first real outing. Release-Skip: true Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SK871Ay2eiEzxTPorRufLP
MyNamesEMurray
enabled auto-merge (squash)
July 27, 2026 01:22
MyNamesEMurray
deleted the
claude/localvocal-transcription-accuracy-jxxefb
branch
July 27, 2026 01:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
-c.publish.channel=betaflag from the last fix never applied — PowerShell doesn't preserve electron-builder's dotted-override form, so the build failed outright. Sets the channel throughpackage.jsoninstead, and stops a failed run from burning a version number.Changes
Channel is set with
npm pkg set, not on the command line. GitHub runsrun:steps through PowerShell onwindows-latest, which didn't preserve the dotted form — electron-builder parsed it as the-cconfig file alias and died:npm pkg set build.publish.channel=betais shell-agnostic and is already how this workflow stamps the version. The step also echoes the resolved version and channel so the log shows what the build will actually use.Tagging moved to after the build and the feed check. Tagging first meant a failed run still pushed its tag —
v3.8.1-beta.2is exactly that: an orphan with no release behind it, left by the run this fixes. Step order is now compute → stamp → build → verify → tag → publish.Verification
npm pkg set build.publish.channel=betaadds the key without disturbingprovider/owner/repo:{"provider":"github","owner":"o","repo":"r","channel":"beta"}.What already worked and is worth keeping in mind: the verify step caught this. The run went red with no release, rather than publishing a second installer with no update feed. The guard did its job on its first real outing — which is also why there's no bad artifact to clean up from this attempt.
Risk & rollout
v3.8.1-beta.1(release exists, installer works, auto-update doesn't) andv3.8.1-beta.2(orphan tag, no release). The next beta will be-beta.3. Say the word if you'd rather I delete them.beta.ymlis actually produced. That's now a hard gate rather than a hope — if the channel still doesn't apply, the job fails at the verify step instead of publishing something hollow.Release-Skip: true— no version bump for a CI-only change.Checklist
npm run smokepasses locally (or CI is green)main🤖 Generated with Claude Code
https://claude.ai/code/session_01SK871Ay2eiEzxTPorRufLP
Generated by Claude Code