Generate the order files with a script and release them on merge #1

Merged
rob merged 2 commits from feat/fab-release into main 2026-11-16 07:09:09 +00:00
Collaborator

Adds scripts/generate_fab.py, which builds the JLCPCB and PCBWay order files for both boards with kicad-cli, and a workflow that runs it on every push to main and publishes the result as a CalVer release (YYYY.MM.N, counted from the tags already on the remote).

Each schematic symbol now carries Manufacturer and MPN fields, so the BOMs need nothing but the schematic.

The release is created through the API, which also tags the merged commit. A tag pushed with the Actions token would not start a second workflow.

Tested: the script was run locally against both boards and its placement and hand-solder files match the previous hand-made ones. The version step was run against sample tag lists. The workflow itself has not run. Merging this is its first run, and it should produce release 2026.11.1. That run pulls kicad/kicad:10.0.8, which is large.

Adds `scripts/generate_fab.py`, which builds the JLCPCB and PCBWay order files for both boards with `kicad-cli`, and a workflow that runs it on every push to `main` and publishes the result as a CalVer release (`YYYY.MM.N`, counted from the tags already on the remote). Each schematic symbol now carries `Manufacturer` and `MPN` fields, so the BOMs need nothing but the schematic. The release is created through the API, which also tags the merged commit. A tag pushed with the Actions token would not start a second workflow. Tested: the script was run locally against both boards and its placement and hand-solder files match the previous hand-made ones. The version step was run against sample tag lists. The workflow itself has not run. Merging this is its first run, and it should produce release `2026.11.1`. That run pulls `kicad/kicad:10.0.8`, which is large.
The order files can then be built from the schematic alone, without a
local copy of the parts catalogue.
rob merged commit 030c5f7aad into main 2026-11-16 07:09:09 +00:00
rob deleted branch feat/fab-release 2026-11-16 07:09:09 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
CamperCan/hardware!1
No description provided.