SurfSense/surfsense_local/electron/scripts/opencode
DESKTOP-RTLN3BA\$punk 26e8d8f7da fix(release): check the signed opencode before any installer is made
Release CI ran check-stage.mjs on the packaged opencode only after
electron-builder, and on a tag `--publish always` has by then uploaded every
installer and stable*.yml to the draft release, so an opencode that signing
broke reached the draft first. An afterSign hook, scripts/opencode/after-sign.mjs,
now runs the same check once the app is signed, and on macOS notarized, and a
failure stops electron-builder before any target is built. macOS and Windows
call it on every build, signed or not; Linux signs nothing and skips it, so the
post-build CI step stays as its check.
2026-10-07 13:39:38 -07:00
..
after-sign.mjs fix(release): check the signed opencode before any installer is made 2026-10-07 13:39:38 -07:00
after-sign.test.mjs fix(release): check the signed opencode before any installer is made 2026-10-07 13:39:38 -07:00
check-stage.mjs fix(release): check the signed opencode before any installer is made 2026-10-07 13:39:38 -07:00
check-stage.test.mjs ci(release): run the opencode each installer packaged 2026-10-07 13:09:26 -07:00
enabled.mjs fix(agent): refuse an opencode switch that is neither 1 nor 0 2026-10-07 13:31:46 -07:00
enabled.test.mjs fix(agent): refuse an opencode switch that is neither 1 nor 0 2026-10-07 13:31:46 -07:00
pins.mjs feat(agent): bundle opencode and start it when the API writes its config 2026-10-01 19:46:33 +02:00
pins.test.mjs feat(agent): bundle opencode and start it when the API writes its config 2026-10-01 19:46:33 +02:00
sign-mac.test.mjs fix(release): keep opencode's own macOS signature 2026-10-07 13:33:12 -07:00
stage.mjs fix(agent): refuse an opencode switch that is neither 1 nor 0 2026-10-07 13:31:46 -07:00