- dev branch: always VERSION="dev"
- main branch: extract version from commit message (e.g., "V1.2")
- Add KIBOT_VAR_name to all kibot script sections
- Add asset link to release
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Creates ${PROJECT_NAME}_${VERSION}.zip containing all gerbers,
BOMs, images, placement files, 3D models, etc.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Updated sch, mech, pcb_main, and pos configs to properly check
for KIBOT_VAR_rev before falling back to git describe.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Reverts to version with:
- Origin marks (copper squares + silkscreen circles)
- Proper JSON parsing with .get() defaults
- JSON-based scriptarg format
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Dev branch commits: upload to "dev" revision (was dry-run)
- MRs targeting main: upload to "dev" revision (was actual version)
- Actual main commits: upload to versioned revision
This allows pre-ordering parts during development while preventing
accidental version uploads until code is actually merged.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Pipeline stages:
- preflight: extract_version, run_erc, run_drc
- fabrication: schematic, BOM, 3D, gerbers, position, panel
- inventree: dry-run on dev, full upload on main
- release: package upload and GitLab release
Features:
- Version extraction from MR title (V1.0, V1.1, etc.)
- Version injection into KiBot outputs
- Samsung P&P file generation
- Panel gerber generation
Usage: Include this file in project CI and set PROJECT_NAME variable.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- rev/rev_pcb: Use KIBOT_VAR_rev if set, else git describe
- name: Use KIBOT_VAR_name if set, else extract from filename
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>