Files
kicad-ci/configs/pcb_main.kibot.yaml
Tim Hadwen 366165ceb6 Fix version detection to use KIBOT_VAR_rev environment variable
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>
2026-02-01 22:59:45 +10:00

18 lines
595 B
YAML

# Example KiPlot config file
kibot:
version: 1
import:
- file: default.kibot.yaml
outputs: [JLCPCB_gerbers, JLCPCB_drill, JLCPCB_compress, print_pcb, stencil, interactive_bom]
preflight:
erc: false
update_xml: false
drc: false
set_text_variables:
- name: 'rev'
command: 'if [ -n "$KIBOT_VAR_rev" ]; then echo $KIBOT_VAR_rev; else git describe --tags 2>/dev/null || echo $CI_COMMIT_SHORT_SHA; fi'
- name: 'rev_pcb'
command: 'if [ -n "$KIBOT_VAR_rev_pcb" ]; then echo $KIBOT_VAR_rev_pcb; else git describe --tags 2>/dev/null || echo $CI_COMMIT_SHORT_SHA; fi'