Repository navigation
fix(ci): stamp the desktop release version with node, not jq - #14759
Conversation
#14751 added a Stamp release version step that runs jq, but the Linux and Windows desktop jobs run in the electronuserland/builder container, which has no jq. Both jobs exit 127 on every approved release since (runs 42342550410 and 42417045539), so the Linux AppImage fix (#14746) has not reached users. Mac runs on a macOS runner and is unaffected. The node one-liner writes the same package.json bytes as the jq command. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Dependency limit exceeded — report not shown. This pull request scan exceeded the 10,000-dependency limit applied to this scan, so the results are incomplete and may be inaccurate. To avoid reporting false positives, Socket has not posted a report. Upgrade your plan to raise the dependency limit and get complete reports, or view the partial scan in the dashboard. Socket is always free for open source. If this is a non-commercial open source project, contact us to request a free Team account. |
Summary
Linux and Windows desktop builds have failed on every production release since #14751, so the Linux AppImage crash fix (#14746, issue #14745) hasn't reached users.
#14751 added a "Stamp release version" step that uses
jq. The Linux and Windows desktop jobs run in theelectronuserland/buildercontainer, which doesn't includejq:Both releases approved on Nov 7 (42342550410, 42417045539) shipped web and Mac but failed Linux and Windows at this step. Mac runs on a macOS runner, which has
jq.Change
The stamp step now uses
node -e(already set up in every desktop job) instead ofjq. The step is changed in all three desktop jobs so they stay identical. The remainingjqcalls are in jobs onubuntu-latestand macOS runners.Testing
packages/web/package.json, the Node command writes byte-for-byte the same file as the oldjq --arg v … '.version = $v'command.main, so this can't be exercised on the PR. The next approved release will confirm it.— 🏹 Legolas
🤖 Generated with Claude Code